fix #280210: Menu entry and dialog box title bar out of sync with each other
This commit is contained in:
parent
c49e3c3f0d
commit
e31a1cd9e1
5 changed files with 8 additions and 8 deletions
|
@ -23,7 +23,7 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Edit Staff/Part Properties</string>
|
<string>Staff/Part Properties</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0" colspan="2">
|
<item row="0" column="0" colspan="2">
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Edit General Style</string>
|
<string>Style</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_39">
|
<layout class="QGridLayout" name="gridLayout_39">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
@ -10654,7 +10654,7 @@
|
||||||
<string>Reset to default</string>
|
<string>Reset to default</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="accessibleName">
|
<property name="accessibleName">
|
||||||
<string>Reset 'Name'</string>
|
<string>Reset 'Name' value</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"/>
|
<string notr="true"/>
|
||||||
|
|
|
@ -196,7 +196,7 @@ void PluginCreator::setState(PCState newState)
|
||||||
|
|
||||||
void PluginCreator::setTitle(const QString& s)
|
void PluginCreator::setTitle(const QString& s)
|
||||||
{
|
{
|
||||||
QString t(tr("MuseScore Plugin Creator"));
|
QString t(tr("Plugin Creator"));
|
||||||
if (s.isEmpty())
|
if (s.isEmpty())
|
||||||
setWindowTitle(t);
|
setWindowTitle(t);
|
||||||
else
|
else
|
||||||
|
|
|
@ -233,7 +233,7 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup)
|
||||||
QAction* b = popup->actions()[0];
|
QAction* b = popup->actions()[0];
|
||||||
QAction* a = popup->insertSeparator(b);
|
QAction* a = popup->insertSeparator(b);
|
||||||
a->setText(tr("Staff"));
|
a->setText(tr("Staff"));
|
||||||
a = new QAction(tr("Staff Properties..."), 0);
|
a = new QAction(tr("Staff/Part Properties..."), 0);
|
||||||
a->setData("staff-props");
|
a->setData("staff-props");
|
||||||
popup->insertAction(b, a);
|
popup->insertAction(b, a);
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup)
|
||||||
QAction* b = popup->actions()[0];
|
QAction* b = popup->actions()[0];
|
||||||
QAction* a = popup->insertSeparator(b);
|
QAction* a = popup->insertSeparator(b);
|
||||||
a->setText(tr("Staff"));
|
a->setText(tr("Staff"));
|
||||||
a = new QAction(tr("Staff Properties..."), 0);
|
a = new QAction(tr("Staff/Part Properties..."), 0);
|
||||||
a->setData("staff-props");
|
a->setData("staff-props");
|
||||||
popup->insertAction(b, a);
|
popup->insertAction(b, a);
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup)
|
||||||
// else if (e->isFretDiagram())
|
// else if (e->isFretDiagram())
|
||||||
// popup->addAction(tr("Fretboard Diagram Properties..."))->setData("fret-props");
|
// popup->addAction(tr("Fretboard Diagram Properties..."))->setData("fret-props");
|
||||||
else if (e->isInstrumentName())
|
else if (e->isInstrumentName())
|
||||||
popup->addAction(tr("Staff Properties..."))->setData("staff-props");
|
popup->addAction(tr("Staff/Part Properties..."))->setData("staff-props");
|
||||||
else
|
else
|
||||||
genPropertyMenu1(e, popup);
|
genPropertyMenu1(e, popup);
|
||||||
}
|
}
|
||||||
|
|
|
@ -387,7 +387,7 @@ void ScoreView::measurePopup(QContextMenuEvent* ev, Measure* obj)
|
||||||
a = popup->addAction(tr("Piano Roll Editor..."));
|
a = popup->addAction(tr("Piano Roll Editor..."));
|
||||||
a->setData("pianoroll");
|
a->setData("pianoroll");
|
||||||
|
|
||||||
a = popup->addAction(tr("Staff Properties..."));
|
a = popup->addAction(tr("Staff/Part Properties..."));
|
||||||
a->setData("staff-properties");
|
a->setData("staff-properties");
|
||||||
a = popup->addAction(tr("Split Staff..."));
|
a = popup->addAction(tr("Split Staff..."));
|
||||||
a->setData("staff-split");
|
a->setData("staff-split");
|
||||||
|
|
Loading…
Reference in a new issue