From 8b9c251aa2368b8bfcee60993a1ca1ca47464f6e Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 5 Sep 2007 11:48:48 +0000 Subject: [PATCH] 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 --- synfig-studio/trunk/src/gtkmm/childrentreestore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.7.4