fix #273080 - Visible mixer with no score leads to instant crash on startup
This commit is contained in:
parent
c7fa7c6fc6
commit
c6fa1ea1f7
1 changed files with 3 additions and 0 deletions
|
@ -390,6 +390,9 @@ void Mixer::midiPrefsChanged(bool showMidiControls)
|
|||
|
||||
void MuseScore::showMixer(bool val)
|
||||
{
|
||||
if (!cs)
|
||||
return;
|
||||
|
||||
QAction* a = getAction("toggle-mixer");
|
||||
if (mixer == 0) {
|
||||
mixer = new Mixer(this);
|
||||
|
|
Loading…
Reference in a new issue