added missing call to gimp_rectangle_tool_rectangle_changed(). Fixes bug

2007-03-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_key_press):
	added missing call to gimp_rectangle_tool_rectangle_changed().
	Fixes bug #415833.


svn path=/trunk/; revision=22066
This commit is contained in:
Sven Neumann 2007-03-08 06:52:41 +00:00 committed by Sven Neumann
parent 1bdb26be15
commit 18efb16d5e
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-03-08 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_key_press):
added missing call to gimp_rectangle_tool_rectangle_changed().
Fixes bug #415833.
2007-03-07 Sven Neumann <sven@gimp.org>
* app/tools/gimpvectoroptions.c (gimp_vector_options_gui): describe

View file

@ -1298,7 +1298,6 @@ gimp_rectangle_tool_key_press (GimpTool *tool,
break;
}
gimp_draw_tool_pause (GIMP_DRAW_TOOL (tool));
x1 = private->x1 + inc_x1;
@ -1319,6 +1318,8 @@ gimp_rectangle_tool_key_press (GimpTool *tool,
gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
gimp_rectangle_tool_rectangle_changed (rectangle);
/* Evil hack to suppress oper updates. We do this because we don't
* want the rectangle tool to change function while the rectangle
* is being resized or moved using the keyboard.