From: dooglus Date: Sun, 25 Feb 2007 03:06:17 +0000 (+0000) Subject: Fix 1420091: Crash when deleting vertex items. By rebuilding the tree immediately... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ebf1709fc44989d6e771472eaa09d62d70c9e9b0;p=synfig.git Fix 1420091: Crash when deleting vertex items. By rebuilding the tree immediately, rather than queueing it for later rebuilding, we avoid the tree being redisplayed with invalid entries in it. git-svn-id: http://svn.voria.com/code@251 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp index af44495..0403160 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp @@ -538,7 +538,7 @@ LayerParamTreeStore::on_value_node_child_added(synfig::ValueNode::Handle value_n void LayerParamTreeStore::on_value_node_child_removed(synfig::ValueNode::Handle value_node,synfig::ValueNode::Handle child) { - queue_rebuild(); + rebuild(); } void