diff --git a/src/app/script/events_class.cpp b/src/app/script/events_class.cpp index a27adfe61..dcc7de47e 100644 --- a/src/app/script/events_class.cpp +++ b/src/app/script/events_class.cpp @@ -270,7 +270,7 @@ public: // DocUndoObserver impl void onAddUndoState(DocUndo* history) override { - call(Change); + call(Change, { { "fromUndo", false } }); } void onCurrentUndoStateChange(DocUndo* history) override { call(Change, { { "fromUndo", true } });