From: Carlos Lopez Date: Wed, 15 Jul 2009 22:18:58 +0000 (+0200) Subject: Refresh curves widget after clear it to not show inconsistent curves. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=44ab8432eb1a1e3c0bbcef8ac1fbe7a5cdcaedc8;p=synfig.git Refresh curves widget after clear it to not show inconsistent curves. --- diff --git a/synfig-studio/trunk/src/gtkmm/dock_curves.cpp b/synfig-studio/trunk/src/gtkmm/dock_curves.cpp index bc1a73c..9268fc2 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_curves.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_curves.cpp @@ -93,6 +93,7 @@ _curve_selection_changed(Gtk::TreeView* param_tree_view,Widget_Curves* curves) if(!param_tree_view->get_selection()->count_selected_rows()) { curves->clear(); + curves->refresh(); return; }