Commit 1bcaf343 authored by Nicolas Carion's avatar Nicolas Carion

fix undo message

parent f14277da
Pipeline #1602 passed with stage
in 21 minutes and 45 seconds
...@@ -240,9 +240,9 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr<Timeline ...@@ -240,9 +240,9 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr<Timeline
timeline->requestClearSelection(); timeline->requestClearSelection();
if (final) { if (final) {
if (startPosition < endPosition) { if (startPosition < endPosition) {
pCore->pushUndo(undo, redo, i18n("Remove space"));
} else {
pCore->pushUndo(undo, redo, i18n("Insert space")); pCore->pushUndo(undo, redo, i18n("Insert space"));
} else {
pCore->pushUndo(undo, redo, i18n("Remove space"));
} }
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment