gimp r24696 - in trunk: . app/tools



Author: martinn
Date: Wed Jan 23 20:43:44 2008
New Revision: 24696
URL: http://svn.gnome.org/viewvc/gimp?rev=24696&view=rev

Log:
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).


Modified:
   trunk/ChangeLog
   trunk/app/tools/gimprectangleselecttool.c

Modified: trunk/app/tools/gimprectangleselecttool.c
==============================================================================
--- trunk/app/tools/gimprectangleselecttool.c	(original)
+++ trunk/app/tools/gimprectangleselecttool.c	Wed Jan 23 20:43:44 2008
@@ -779,6 +779,10 @@
   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;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]