From: dooglus Date: Sun, 17 Feb 2008 20:42:39 +0000 (+0000) Subject: "Select All Ducks" only selects ducks which are "group selectable" but it used to... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c797a5de358807f73c2e2ed21d4f01b6a66d597e;p=synfig.git "Select All Ducks" only selects ducks which are "group selectable" but it used to leave other ducks selected if they were already selected. Now it doesn't. git-svn-id: http://svn.voria.com/code@1739 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp index 324f94c..f5e52de 100644 --- a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp +++ b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp @@ -286,6 +286,8 @@ Duckmatic::select_all_ducks() for(iter=duck_map.begin();iter!=duck_map.end();++iter) if(is_duck_group_selectable(iter->second)) select_duck(iter->second); + else + unselect_duck(iter->second); } void