app: in GimpTransformGridTool, remove flip-tool hack

The flip tool is not a subclass of GimpTransformGridTool; this is
a leftover from GimpTransformTool.
This commit is contained in:
Ell 2019-02-04 02:55:54 -05:00
parent 9210599021
commit 3ebda874b5
1 changed files with 0 additions and 7 deletions

View File

@ -370,13 +370,6 @@ gimp_transform_grid_tool_button_release (GimpTool *tool,
if (release_type != GIMP_BUTTON_RELEASE_CANCEL)
{
/* This hack is to perform the flip immediately with the flip tool */
if (! tg_tool->widget)
{
gimp_transform_grid_tool_response (NULL, GTK_RESPONSE_OK, tg_tool);
return;
}
/* We're done with an interaction, save it on the undo list */
gimp_transform_grid_tool_push_internal_undo (tg_tool);
}