Commit e2afa0e2 authored by Michael Natterer's avatar Michael Natterer 😴

Make sure the layer preview's border is correct after removing a mask

(gimp_layer_tree_view_mask_update): call
gimp_layer_tree_view_update_borders() unconditionally; not only when a
mask has been added, but also when it has been removed.
(cherry picked from commit 098a0e44)
parent cd9d331b
......@@ -1168,9 +1168,10 @@ gimp_layer_tree_view_mask_update (GimpLayerTreeView *layer_view,
layer_view->model_column_mask_visible, mask_visible,
gimp_layer_tree_view_update_borders (layer_view, iter);
if (renderer)
gimp_layer_tree_view_update_borders (layer_view, iter);
gimp_view_renderer_remove_idle (renderer);
g_object_unref (renderer);
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