Skip to content

Commit

Permalink
fix #273080 - Visible mixer with no score leads to instant crash on s…
Browse files Browse the repository at this point in the history
…tartup
  • Loading branch information
Soerboe committed Jun 5, 2018
1 parent c7fa7c6 commit c6fa1ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mscore/mixer.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit c6fa1ea

Please sign in to comment.