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:34:24 +03:00
parent 024d62d574
commit 93693fcd4b

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();
}