[gimp] app: make gegl:color-enhance insensitive on grayscale drawables



commit de8a7972fb98a602df56735a105f1fc919d78525
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jan 13 23:32:56 2015 +0100

    app: make gegl:color-enhance insensitive on grayscale drawables

 app/actions/filters-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 35f7e5f..b372950 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -479,7 +479,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-c2g",                     writable && !gray);
   SET_SENSITIVE ("filters-cartoon",                 writable);
   SET_SENSITIVE ("filters-checkerboard",            writable);
-  SET_SENSITIVE ("filters-color-enhance",           writable);
+  SET_SENSITIVE ("filters-color-enhance",           writable && !gray);
   SET_SENSITIVE ("filters-color-exchange",          writable);
   SET_SENSITIVE ("filters-color-reduction",         writable);
   SET_SENSITIVE ("filters-color-rotate",            writable);


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