Commit 10099bda authored by Jehan's avatar Jehan

app: layers-text-tool action should only be sensitive when active...

... layer is a text layer.
It doesn't make sense to activate the text tool on any other kind of
layer.
parent 99ab780d
......@@ -867,6 +867,7 @@ layers_actions_update (GimpActionGroup *group,
gimp_action_group_set_action_label (group, action, label)
SET_VISIBLE ("layers-text-tool", text_layer && !ac);
SET_SENSITIVE ("layers-text-tool", text_layer && !ac);
SET_SENSITIVE ("layers-edit-attributes", layer && !fs && !ac);
if (layer && gimp_layer_is_floating_sel (layer))
......
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