Commit 098a0e44 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.
parent fa628b58
......@@ -1206,9 +1206,10 @@ gimp_layer_tree_view_mask_update (GimpLayerTreeView *layer_view,
layer_view->priv->model_column_mask_visible, mask_visible,
-1);
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