Commit 7ed51204 authored by Ell's avatar Ell

app: in GimpTransformGridTool, fix layer hiding

In GimpTransformGridTool, when the "show-preview" tool-option
changes, don't take the transform validity into account when
deciding whether to hide the current layer -- it should only affect
the visibility of the preview, not the layer.
parent 3ebda874
......@@ -582,7 +582,7 @@ gimp_transform_grid_tool_options_notify (GimpTool *tool,
item = gimp_transform_tool_get_active_item (tr_tool, display);
if (item)
if (show_preview)
if (gimp_transform_grid_options_show_preview (tg_options))
gimp_transform_grid_tool_hide_active_item (tg_tool, item);
gimp_transform_grid_tool_show_active_item (tg_tool);
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