Fix broken command line rendering. Should always check that editor windows exist before using them.
This commit is contained in:
1 parent
138bc79941
commit
2c19290fab
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user