mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
Reset the automatic undo/redo mechanism so that commiting pending
2008-01-23 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_execute): Reset the automatic undo/redo mechanism so that commiting pending rectangles with Return works (bug #511599). svn path=/trunk/; revision=24696
This commit is contained in:
parent
087268e6fa
commit
d089ea9c3e
|
@ -1,3 +1,10 @@
|
|||
2008-01-23 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangleselecttool.c
|
||||
(gimp_rect_select_tool_execute): Reset the automatic undo/redo
|
||||
mechanism so that commiting pending rectangles with Return
|
||||
works (bug #511599).
|
||||
|
||||
2008-01-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-selection.c: show the selection,
|
||||
|
|
|
@ -779,6 +779,10 @@ gimp_rect_select_tool_execute (GimpRectangleTool *rectangle,
|
|||
gimp_rect_select_tool_update_option_defaults (rect_sel_tool,
|
||||
FALSE);
|
||||
|
||||
/* Reset the automatic undo/redo mechanism */
|
||||
priv->undo = NULL;
|
||||
priv->redo = NULL;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue