From 66419f96a41c0039f1b5ea58629f76ffa7850035 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Mon, 25 Jun 2018 22:48:50 +0200 Subject: Fix for bug 1777530 on master --- src/extension/implementation/script.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/extension/implementation/script.cpp') 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(); } -- cgit v1.2.3