app: clear GimpToolTransformGrid's status when we leave proximity

This commit is contained in:
Michael Natterer 2017-06-20 00:23:25 +02:00
parent 956477831f
commit 6560e3895b
1 changed files with 8 additions and 2 deletions

View File

@ -1889,8 +1889,14 @@ gimp_tool_transform_grid_hover (GimpToolWidget *widget,
}
}
if (handle != GIMP_TRANSFORM_HANDLE_NONE)
if (handle != GIMP_TRANSFORM_HANDLE_NONE && proximity)
{
gimp_tool_widget_status (widget, get_friendly_operation_name (handle));
}
else
{
gimp_tool_widget_status (widget, NULL);
}
private->handle = handle;