Commit dd8a46d3 authored by William Skaggs's avatar William Skaggs

Bill Skaggs <weskaggs@primate.ucdavis.edu>

	* app/tools/gimprectangletool.c: "execute" the tool if the
	user switches to a different tool or clicks in a different
	image.  Good for rect select, not so sure about crop.
parent a5a7ded0
2005-10-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c: "execute" the tool if the
user switches to a different tool or clicks in a different
image. Good for rect select, not so sure about crop.
2005-10-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/warp.c: use gimp_drawable_mask_intersect()
......
......@@ -1275,7 +1275,7 @@ gimp_rectangle_tool_control (GimpTool *tool,
break;
case HALT:
rectangle_response (NULL, GTK_RESPONSE_CANCEL, rectangle);
rectangle_response (NULL, GIMP_RECTANGLE_MODE_EXECUTE, rectangle);
break;
default:
......@@ -1297,6 +1297,9 @@ gimp_rectangle_tool_button_press (GimpTool *tool,
if (gdisp != tool->gdisp)
{
if (tool->gdisp)
rectangle_response (NULL, GIMP_RECTANGLE_MODE_EXECUTE, rectangle);
if (gimp_draw_tool_is_active (draw_tool))
gimp_draw_tool_stop (draw_tool);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment