mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
99ab780d9f
commit
10099bdaf7
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue