summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-04-20 20:50:02 +0000
committerapenner <penner@vaxxine.com>2013-04-20 20:50:02 +0000
commite042b14d47a3a32a4c5db204f7aff26183587161 (patch)
tree2636fdc96c3691a7ed4a6120e18ee50945469e5e /src
parentminor odg export update (diff)
downloadinkscape-e042b14d47a3a32a4c5db204f7aff26183587161.tar.gz
inkscape-e042b14d47a3a32a4c5db204f7aff26183587161.zip
Group bbox update (Bug 1168979)
Fixed bugs: - https://launchpad.net/bugs/1168979 (bzr r12285.1.2)
Diffstat (limited to 'src')
-rw-r--r--src/selection-chemistry.cpp1
-rw-r--r--src/ui/dialog/xml-tree.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 41ebc9bfc..fc410897a 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -360,6 +360,7 @@ void sp_selection_delete(SPDesktop *desktop)
selection->clear();
sp_selection_delete_impl(selected);
g_slist_free(const_cast<GSList *>(selected));
+ reinterpret_cast<SPObject *>(desktop->currentLayer())->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
/* a tool may have set up private information in it's selection context
* that depends on desktop items. I think the only sane way to deal with
diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp
index 29dbc4b93..a537b7fca 100644
--- a/src/ui/dialog/xml-tree.cpp
+++ b/src/ui/dialog/xml-tree.cpp
@@ -986,6 +986,7 @@ void XmlTree::cmd_delete_node()
g_assert(selected_repr != NULL);
sp_repr_unparent(selected_repr);
+ reinterpret_cast<SPObject *>(current_desktop->currentLayer())->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
DocumentUndo::done(current_document, SP_VERB_DIALOG_XML_EDITOR,
Q_("nodeAsInXMLinHistoryDialog|Delete node"));
}