From: Carlos Lopez Date: Tue, 20 Oct 2009 20:21:01 +0000 (+0200) Subject: When a layer is unchecked and it is not in any group don't show a warning message. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1631b0b7c026a3339fd5e20f5592e13c7e74fd0a;p=synfig.git When a layer is unchecked and it is not in any group don't show a warning message. --- diff --git a/synfig-studio/src/gtkmm/layergrouptreestore.cpp b/synfig-studio/src/gtkmm/layergrouptreestore.cpp index 6334c09..077436c 100644 --- a/synfig-studio/src/gtkmm/layergrouptreestore.cpp +++ b/synfig-studio/src/gtkmm/layergrouptreestore.cpp @@ -898,7 +898,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(); } }