mirror of https://github.com/GNOME/gimp.git
do nothing in _button_press when the tool is in the VECTORS_FINISHED
2004-01-26 Simon Budig <simon@gimp.org> * app/tools/gimpvectortool.c: do nothing in _button_press when the tool is in the VECTORS_FINISHED state. Fixes bug #132508.
This commit is contained in:
parent
d403e02315
commit
9d8df85168
|
@ -1,3 +1,9 @@
|
|||
2004-01-26 Simon Budig <simon@gimp.org>
|
||||
|
||||
* app/tools/gimpvectortool.c: do nothing in _button_press when
|
||||
the tool is in the VECTORS_FINISHED state.
|
||||
Fixes bug #132508.
|
||||
|
||||
2004-01-25 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/common/postscript.c: use GSpawn instead of popen, -dBATCH,
|
||||
|
|
|
@ -294,6 +294,10 @@ gimp_vector_tool_button_press (GimpTool *tool,
|
|||
vector_tool = GIMP_VECTOR_TOOL (tool);
|
||||
options = GIMP_VECTOR_OPTIONS (tool->tool_info->tool_options);
|
||||
|
||||
/* do nothing if we are an FINISHED state */
|
||||
if (vector_tool->function == VECTORS_FINISHED)
|
||||
return;
|
||||
|
||||
g_return_if_fail (vector_tool->vectors != NULL ||
|
||||
vector_tool->function == VECTORS_SELECT_VECTOR ||
|
||||
vector_tool->function == VECTORS_CREATE_VECTOR);
|
||||
|
|
Loading…
Reference in New Issue