X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayeractionmanager.cpp;h=d601b78343feab5cf0491f6d04ee325d4b91b792;hb=6f75b18959ccc6d90a2237e2d49c2a1740d2b436;hp=fd9a9c7c51a2b98515101895ccea5a8a3e5f1675;hpb=8973555bc7664f06369a17e60cc8fa2760f8a95f;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp b/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp index fd9a9c7..d601b78 100644 --- a/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp +++ b/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp @@ -280,7 +280,7 @@ LayerActionManager::refresh() } } - if(!multiple_selected && layer->get_name()=="PasteCanvas") + if(!multiple_selected && layer->get_name()=="paste_canvas") { action_group_->add(Gtk::Action::create( "select-all-child-layers", @@ -432,7 +432,7 @@ LayerActionManager::amount_inc() while(!layer_list.empty()) { ValueBase value(layer_list.front()->get_param("amount")); - if(value.same_as(Real())) + if(value.same_type_as(Real())) { get_canvas_interface()->change_value(synfigapp::ValueDesc(layer_list.front(),"amount"),value.get(Real())+adjust); } @@ -456,7 +456,7 @@ LayerActionManager::amount_dec() while(!layer_list.empty()) { ValueBase value(layer_list.front()->get_param("amount")); - if(value.same_as(Real())) + if(value.same_type_as(Real())) { get_canvas_interface()->change_value(synfigapp::ValueDesc(layer_list.front(),"amount"),value.get(Real())+adjust); }