diff --git a/ChangeLog b/ChangeLog index 26632d74a9..95cccb0980 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-26 Simon Budig + + * 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 * plug-ins/common/postscript.c: use GSpawn instead of popen, -dBATCH, diff --git a/app/tools/gimpvectortool.c b/app/tools/gimpvectortool.c index be87a3f565..0fa8d75e45 100644 --- a/app/tools/gimpvectortool.c +++ b/app/tools/gimpvectortool.c @@ -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);