Fix broken command line rendering. Should always check that editor windows exist before using them.

This commit is contained in:
Raine M. Ekman
2014-04-08 21:44:19 +03:00
parent 138bc79941
commit 2c19290fab

View File

@@ -537,7 +537,7 @@ void pattern::updateBBTrack()
engine::getBBTrackContainer()->updateBBTrack( this );
}
if( engine::pianoRoll()->currentPattern() == this )
if( engine::pianoRoll() && engine::pianoRoll()->currentPattern() == this )
{
engine::pianoRoll()->update();
}