Commit abee5eef authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

when deleting the mask, use "Delete Layer Mask" instead of "Apply Layer

2004-02-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c (gimp_layer_apply_mask): when deleting the
	mask, use "Delete Layer Mask" instead of "Apply Layer Mask" as
	undo description.
parent ccc134bb
2004-02-28 Michael Natterer <mitch@gimp.org>
* app/core/gimplayer.c (gimp_layer_apply_mask): when deleting the
mask, use "Delete Layer Mask" instead of "Apply Layer Mask" as
undo description.
2004-02-28 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): if the
......@@ -1267,7 +1267,9 @@ gimp_layer_apply_mask (GimpLayer *layer,
if (push_undo)
{
gimp_image_undo_group_start (gimage, GIMP_UNDO_GROUP_LAYER_APPLY_MASK,
_("Apply Layer Mask"));
(mode == GIMP_MASK_APPLY) ?
_("Apply Layer Mask") :
_("Delete Layer Mask"));
gimp_image_undo_push_layer_mask_remove (gimage, NULL, layer, layer->mask);
}
......
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