diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-06-25 20:48:50 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-06-25 20:48:50 +0000 |
| commit | 66419f96a41c0039f1b5ea58629f76ffa7850035 (patch) | |
| tree | 44e632d8c38436ff434c5452a20bb52403cdc64c /src/extension/implementation/script.cpp | |
| parent | French translation: simplify the plural form (diff) | |
| download | inkscape-66419f96a41c0039f1b5ea58629f76ffa7850035.tar.gz inkscape-66419f96a41c0039f1b5ea58629f76ffa7850035.zip | |
Fix for bug 1777530 on master
Diffstat (limited to 'src/extension/implementation/script.cpp')
| -rw-r--r-- | src/extension/implementation/script.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index f0a6ec7bf..11961458a 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -690,12 +690,6 @@ void Script::effect(Inkscape::Extension::Effect *module, if (desktop) { Inkscape::Selection * selection = desktop->getSelection(); if (selection) { - //No working dialog run once - if (!selection->isEmpty()) { - selection->setBackup(); - } else { - selection->restoreBackup(); - } params = selection->params; module->paramListString(params); selection->clear(); @@ -763,12 +757,6 @@ void Script::effect(Inkscape::Extension::Effect *module, //set the current layer desktop->setCurrentLayer(layer); } - if (desktop) { - Inkscape::Selection * selection = desktop->getSelection(); - if (selection && selection->isEmpty()) { - selection->restoreBackup(); - } - } } mydoc->release(); } |
