summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index 9a1733eea..c4b7472af 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -194,10 +194,13 @@ ExecutionEnv::run () {
createWorkingDialog();
}
SPDesktop *desktop = (SPDesktop *)_doc;
+ Inkscape::Selection * selection = desktop->getSelection();
+ selection->setBackup();
desktop->setWaitingCursor();
_effect->get_imp()->effect(_effect, _doc, _docCache);
desktop->clearWaitingCursor();
_state = ExecutionEnv::COMPLETE;
+ selection->restoreBackup();
// _runComplete.signal();
return;
}