From 167cadcab37209a059f6f8c84c0d897258bfc64d Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Mon, 6 Mar 2017 22:33:07 +0100 Subject: Fixes bug Envelope Deformation LPE makes Inkscape fail to undo properly Fixed bugs: - https://launchpad.net/bugs/1668003 (bzr r15571) --- src/document-undo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/document-undo.cpp') diff --git a/src/document-undo.cpp b/src/document-undo.cpp index ae90c916e..fb1f47312 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -282,7 +282,7 @@ gboolean Inkscape::DocumentUndo::undo(SPDocument *doc) if (ret) INKSCAPE.external_change(); SPObject *updated = doc->getRoot(); - if (updated) { + if (updated && !ret) { updated->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); } return ret; -- cgit v1.2.3