mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
3ebda874b5
commit
7ed512040e
|
@ -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);
|
||||
else
|
||||
gimp_transform_grid_tool_show_active_item (tg_tool);
|
||||
|
|
Loading…
Reference in New Issue