Merge branch 'master' into nikitakit_master
[synfig.git] / synfig-studio / src / gtkmm / layergrouptreestore.cpp
index 6334c09..9c947c6 100644 (file)
@@ -471,7 +471,6 @@ LayerGroupTreeStore::row_draggable_vfunc (const TreeModel::Path& /*path*/)const
 //     Gtk::TreeModel::Row row(*get_iter(path));
 
        return true;
-//     return (bool)true;
 }
 
 bool
@@ -898,7 +897,9 @@ LayerGroupTreeStore::on_layer_status_changed(synfig::Layer::Handle handle,bool /
                (*iter)[model.layer]=handle;
        else
        {
-               synfig::warning("Couldn't find layer to be activated in layer list. Rebuilding index...");
+               // Not need to send a warning when a layer changes its status and
+               // it is not found in any group.
+               //synfig::warning("Couldn't find layer to be activated in layer list. Rebuilding index...");
                rebuild();
        }
 }