Skip to content

Commit

Permalink
fix #219536 mute checkbox is two state and should be set as bool
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetee committed Jun 9, 2017
1 parent 84966a1 commit afbd152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/osc.cpp
Expand Up @@ -341,7 +341,7 @@ void MuseScore::oscMuteChannel(double val)
Channel* channel = mm.articulation;
channel->mute = (val==0.0f ? false : true);
if (mixer)
mixer->partEdit(i)->mute->setChecked(val==0.0f ? Qt::Unchecked : Qt::Checked);
mixer->partEdit(i)->mute->setChecked(channel->mute);
}
}
#endif // #ifndef OSC
Expand Down

0 comments on commit afbd152

Please sign in to comment.