Skip to content

Commit

Permalink
fix #44771 preferences dialog overwritten under Mac for some translat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
AntonioBL committed Feb 23, 2015
1 parent 3f0a525 commit 2907a71
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mscore/musescore.cpp
Expand Up @@ -871,8 +871,11 @@ MuseScore::MuseScore()
menuLayout = mb->addMenu(tr("&Layout"));
menuLayout->setObjectName("Layout");

for (auto i : { "page-settings", "reset", "stretch+", "stretch-", "reset-stretch", "reset-beammode" })
menuLayout->addAction(getAction(i));
for (auto i : { "page-settings", "reset", "stretch+", "stretch-", "reset-stretch", "reset-beammode" }) {
QAction* action = getAction(i);
action->setMenuRole(QAction::NoRole);
menuLayout->addAction(action);
}

//---------------------
// Menu Style
Expand Down

0 comments on commit 2907a71

Please sign in to comment.