diff options
Diffstat (limited to 'src/server/events/Undo.cpp')
-rw-r--r-- | src/server/events/Undo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/Undo.cpp b/src/server/events/Undo.cpp index 06289aa1..15c18ca2 100644 --- a/src/server/events/Undo.cpp +++ b/src/server/events/Undo.cpp @@ -44,7 +44,7 @@ Undo::pre_process() } _entry = stack->pop(); - _engine.interface()->set_event_mode(mode); + _engine.event_writer()->set_event_mode(mode); if (_entry.events.size() > 1) { _engine.interface()->bundle_begin(); } @@ -56,7 +56,7 @@ Undo::pre_process() if (_entry.events.size() > 1) { _engine.interface()->bundle_end(); } - _engine.interface()->set_event_mode(mode); + _engine.event_writer()->set_event_mode(mode); return Event::pre_process_done(Status::SUCCESS); } |