Skip to content

Commit 6bb121d

Browse files
Jojo-Schmitzcbjeukendrup
authored andcommitted
Fix issue with "Decrease duration" and "Increase duration" in the History panel
1 parent ad09c45 commit 6bb121d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/notation/internal/notationinteraction.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5636,9 +5636,9 @@ void NotationInteraction::increaseDecreaseDuration(int steps, bool stepByDots)
56365636
return;
56375637
}
56385638

5639-
startEdit(steps >= 0
5640-
? TranslatableString("undoableAction", "Increase duration")
5641-
: TranslatableString("undoableAction", "Decrease duration"));
5639+
startEdit(steps > 0 // negative: increase, positive: decrease
5640+
? TranslatableString("undoableAction", "Decrease duration")
5641+
: TranslatableString("undoableAction", "Increase duration"));
56425642
score()->cmdIncDecDuration(steps, stepByDots);
56435643
apply();
56445644
}

0 commit comments

Comments
 (0)