Skip to content

Commit

Permalink
Merge pull request #25644 from Jojo-Schmitz/apply-measure-property-ch…
Browse files Browse the repository at this point in the history
…anges

Apply measure property changes when moving between measures with arrow buttons
  • Loading branch information
cbjeukendrup authored Nov 25, 2024
2 parents 6cbb9dd + 1faca85 commit afac76a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/notation/view/widgets/measureproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ mu::engraving::Measure* getPrevMeasure(mu::engraving::Measure* m)

void MeasurePropertiesDialog::gotoNextMeasure()
{
apply();
if (getNextMeasure(m_measure)) {
setMeasure(getNextMeasure(m_measure));
}
Expand All @@ -142,6 +143,7 @@ void MeasurePropertiesDialog::gotoNextMeasure()

void MeasurePropertiesDialog::gotoPreviousMeasure()
{
apply();
if (getPrevMeasure(m_measure)) {
setMeasure(getPrevMeasure(m_measure));
}
Expand Down
4 changes: 2 additions & 2 deletions src/notation/view/widgets/measureproperties.ui
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Go to previous measure</string>
<string>Apply and go to previous measure</string>
</property>
<property name="text">
<string notr="true"/>
Expand All @@ -487,7 +487,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Go to next measure</string>
<string>Apply and go to next measure</string>
</property>
<property name="text">
<string notr="true"/>
Expand Down

0 comments on commit afac76a

Please sign in to comment.