summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-06-25 20:48:50 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-06-25 20:48:50 +0000
commit66419f96a41c0039f1b5ea58629f76ffa7850035 (patch)
tree44e632d8c38436ff434c5452a20bb52403cdc64c /src/extension/execution-env.cpp
parentFrench translation: simplify the plural form (diff)
downloadinkscape-66419f96a41c0039f1b5ea58629f76ffa7850035.tar.gz
inkscape-66419f96a41c0039f1b5ea58629f76ffa7850035.zip
Fix for bug 1777530 on master
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;
}