From: dooglus Date: Wed, 5 Sep 2007 11:48:48 +0000 (+0000) Subject: Exporting a constant (non-animated) value, then renaming it, then viewing it in the... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8b9c251aa2368b8bfcee60993a1ca1ca47464f6e;p=synfig.git Exporting a constant (non-animated) value, then renaming it, then viewing it in the Children dialog causes a crash. The Children dialog wasn't updating itself when constant values were renamed. Now it does. git-svn-id: http://svn.voria.com/code@600 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp b/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp index dadf8ee..e6521ec 100644 --- a/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp @@ -297,7 +297,7 @@ void ChildrenTreeStore::on_value_node_changed(etl::handle value_node) { - if(value_node->get_name()=="constant" || !value_node->is_exported()) + if(!value_node->is_exported()) return; changed_connection.disconnect(); // if(!execute_changed_queued())