mirror of https://github.com/GNOME/gimp.git
Issue #3597: Free selection: CRITICAL when double clicking on a handle.
GIMP_BUTTON_PRESS_DOUBLE press event would be called before the second release event happens hence the tool control would not be properly halted. Just pass through the gimp_selection_tool_start_edit() check for any press events other than GIMP_BUTTON_PRESS_NORMAL.
This commit is contained in:
parent
f20b873396
commit
8ccd49ac78
|
@ -179,7 +179,8 @@ gimp_free_select_tool_button_press (GimpTool *tool,
|
|||
GimpPolygonSelectTool *poly_sel = GIMP_POLYGON_SELECT_TOOL (tool);
|
||||
GimpFreeSelectToolPrivate *priv = free_sel->priv;
|
||||
|
||||
if (gimp_selection_tool_start_edit (GIMP_SELECTION_TOOL (poly_sel),
|
||||
if (press_type == GIMP_BUTTON_PRESS_NORMAL &&
|
||||
gimp_selection_tool_start_edit (GIMP_SELECTION_TOOL (poly_sel),
|
||||
display, coords))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue