Don't execute selection if a dead area is clicked.
2007-07-13 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_button_release): Don't execute selection if a dead area is clicked. svn path=/trunk/; revision=22927
This commit is contained in:
committed by
Martin Nordholts
parent
eed8dc9b68
commit
72ec24da5f
@ -1,3 +1,9 @@
|
||||
2007-07-13 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangletool.c
|
||||
(gimp_rectangle_tool_button_release): Don't execute selection if a
|
||||
dead area is clicked.
|
||||
|
||||
2007-07-13 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangletool.c
|
||||
|
||||
@ -783,6 +783,11 @@ gimp_rectangle_tool_button_release (GimpTool *tool,
|
||||
break;
|
||||
|
||||
case GIMP_BUTTON_RELEASE_CLICK:
|
||||
|
||||
/* When a dead area is clicked, don't execute. */
|
||||
if (private->function == RECT_DEAD)
|
||||
break;
|
||||
|
||||
if (gimp_rectangle_tool_execute (rectangle))
|
||||
gimp_rectangle_tool_halt (rectangle);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user