Commit ce93d5c3 authored by Stanislav Grinkov's avatar Stanislav Grinkov Committed by Jehan

gui: #5339 Disable GEGL Op menu action if no image is open

Because "GEGL Operations..." menu action should be active only
if image is open
parent 90d0a7f6
Pipeline #251761 passed with stages
in 44 minutes and 11 seconds
......@@ -797,4 +797,12 @@ void
tools_actions_update (GimpActionGroup *group,
gpointer data)
{
GimpImage *image = action_data_get_image (data);
#define SET_SENSITIVE(action,condition) \
gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
SET_SENSITIVE ("tools-gegl", image);
#undef SET_SENSITIVE
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment