Skip to content

Commit

Permalink
Temporary fix #315050: Show Edit Style Dialog modally, to prevent pro…
Browse files Browse the repository at this point in the history
…blems
  • Loading branch information
cbjeukendrup committed Jan 4, 2021
1 parent 92ca081 commit 80d04f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mscore/editstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ EditStyle::EditStyle(Score* s, QWidget* parent)
//buttonApplyToAllParts->setEnabled(!cs->isMaster()); // set in showEvent() now
buttonTogglePagelist->setIcon(QIcon(*icons[int(Icons::goNext_ICON)]));
// Allow user to scroll/zoom score while selecting style options:
setModal(false);
// setModal(false); // causes problems

// create button groups for every set of radio button widgets
// use this group widgets in list styleWidgets
Expand Down Expand Up @@ -822,7 +822,11 @@ void MuseScore::showStyleDialog(Element* e)
_styleDlg->activateWindow();
}
else
_styleDlg->show();
// use `_styleDlg->show();` to show non-modally to allow
// user to scroll/zoom score while selecting style options;
// however, that must be properly implemented, otherwise it
// will cause problems.
_styleDlg->exec();
}

//---------------------------------------------------------
Expand Down

0 comments on commit 80d04f4

Please sign in to comment.