fix #153691: drumtools palette not closing when switching between files
follow up acd86d5c50
This commit is contained in:
parent
929eee6b25
commit
f440917ef5
1 changed files with 4 additions and 2 deletions
|
@ -3239,8 +3239,10 @@ void MuseScore::changeState(ScoreState val)
|
|||
|
||||
if (_sstate == STATE_FOTO)
|
||||
updateInspector();
|
||||
if (_sstate != STATE_NOTE_ENTRY_STAFF_DRUM)
|
||||
showDrumTools(0, 0);
|
||||
|
||||
//always hide drumtools to support hiding on switching docs, switching node entry mode off, etc.
|
||||
//it will be shown later if (_sstate == STATE_NOTE_ENTRY_STAFF_DRUM)
|
||||
showDrumTools(0, 0);
|
||||
|
||||
switch (val) {
|
||||
case STATE_DISABLED:
|
||||
|
|
Loading…
Reference in a new issue