[gimp] Enable "layers-crop" for group layers



commit f812d09d1bcab231abff20ad609e10d2ed261f66
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 25 17:30:50 2009 +0200

    Enable "layers-crop" for group layers

 app/actions/layers-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/layers-actions.c b/app/actions/layers-actions.c
index 637aff1..df32d44 100644
--- a/app/actions/layers-actions.c
+++ b/app/actions/layers-actions.c
@@ -597,7 +597,7 @@ layers_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("layers-resize-to-image", writable && !ac);
   SET_SENSITIVE ("layers-scale",           (writable || children) && !ac);
 
-  SET_SENSITIVE ("layers-crop",            writable && sel);
+  SET_SENSITIVE ("layers-crop",            (writable || children) && sel);
 
   SET_SENSITIVE ("layers-alpha-add",       writable && !fs && !alpha);
   SET_SENSITIVE ("layers-alpha-remove",    writable && !fs &&  alpha);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]