mirror of https://github.com/GNOME/gimp.git
app: GimpCanvasLayerBoundary: actually use the figured "edit_mask" boolean
instead of always passing FALSE when changing to a different layer. For some reason we were displaying the right state anyway, which can only mean that we do things redundantly here and call this function twice.
This commit is contained in:
parent
2b1807054f
commit
99df9e114e
|
@ -265,7 +265,7 @@ gimp_canvas_layer_boundary_set_layer (GimpCanvasLayerBoundary *boundary,
|
|||
|
||||
g_object_set (boundary,
|
||||
"layer", layer,
|
||||
"edit-mask", FALSE,
|
||||
"edit-mask", edit_mask,
|
||||
NULL);
|
||||
|
||||
gimp_canvas_item_end_change (GIMP_CANVAS_ITEM (boundary));
|
||||
|
|
Loading…
Reference in New Issue