fix #280210: Menu entry and dialog box title bar out of sync with each other

This commit is contained in:
Joachim Schmitz 2018-12-18 15:22:47 +01:00
parent c49e3c3f0d
commit e31a1cd9e1
5 changed files with 8 additions and 8 deletions

View file

@ -23,7 +23,7 @@
</size>
</property>
<property name="windowTitle">
<string>Edit Staff/Part Properties</string>
<string>Staff/Part Properties</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">

View file

@ -29,7 +29,7 @@
</size>
</property>
<property name="windowTitle">
<string>Edit General Style</string>
<string>Style</string>
</property>
<layout class="QGridLayout" name="gridLayout_39">
<item row="0" column="0">
@ -10654,7 +10654,7 @@
<string>Reset to default</string>
</property>
<property name="accessibleName">
<string>Reset 'Name'</string>
<string>Reset 'Name' value</string>
</property>
<property name="text">
<string notr="true"/>

View file

@ -196,7 +196,7 @@ void PluginCreator::setState(PCState newState)
void PluginCreator::setTitle(const QString& s)
{
QString t(tr("MuseScore Plugin Creator"));
QString t(tr("Plugin Creator"));
if (s.isEmpty())
setWindowTitle(t);
else

View file

@ -233,7 +233,7 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup)
QAction* b = popup->actions()[0];
QAction* a = popup->insertSeparator(b);
a->setText(tr("Staff"));
a = new QAction(tr("Staff Properties..."), 0);
a = new QAction(tr("Staff/Part Properties..."), 0);
a->setData("staff-props");
popup->insertAction(b, a);
@ -251,7 +251,7 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup)
QAction* b = popup->actions()[0];
QAction* a = popup->insertSeparator(b);
a->setText(tr("Staff"));
a = new QAction(tr("Staff Properties..."), 0);
a = new QAction(tr("Staff/Part Properties..."), 0);
a->setData("staff-props");
popup->insertAction(b, a);
@ -280,7 +280,7 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup)
// else if (e->isFretDiagram())
// popup->addAction(tr("Fretboard Diagram Properties..."))->setData("fret-props");
else if (e->isInstrumentName())
popup->addAction(tr("Staff Properties..."))->setData("staff-props");
popup->addAction(tr("Staff/Part Properties..."))->setData("staff-props");
else
genPropertyMenu1(e, popup);
}

View file

@ -387,7 +387,7 @@ void ScoreView::measurePopup(QContextMenuEvent* ev, Measure* obj)
a = popup->addAction(tr("Piano Roll Editor..."));
a->setData("pianoroll");
a = popup->addAction(tr("Staff Properties..."));
a = popup->addAction(tr("Staff/Part Properties..."));
a->setData("staff-properties");
a = popup->addAction(tr("Split Staff..."));
a->setData("staff-split");