Add a call to gimp_image_flush() so that the undo state gets updated.

2008-02-02  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimppolygonselecttool.c
	(gimp_polygon_select_tool_commit): Add a call to
	gimp_image_flush() so that the undo state gets updated.

svn path=/trunk/; revision=24773
This commit is contained in:
Martin Nordholts 2008-02-02 08:47:49 +00:00 committed by Martin Nordholts
parent 7905bf7c34
commit 77cd46d179
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-02-02 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimppolygonselecttool.c
(gimp_polygon_select_tool_commit): Add a call to
gimp_image_flush() so that the undo state gets updated.
2008-02-01 Martin Nordholts <martinn@svn.gnome.org>
* themes/Default/images/tools/stock-tool-polygon-select-22.png:

View File

@ -436,6 +436,8 @@ gimp_polygon_select_tool_commit (GimpPolygonSelectTool *poly_sel_tool,
gimp_polygon_select_tool_select (poly_sel_tool, display);
gimp_polygon_select_tool_halt (poly_sel_tool);
gimp_image_flush (display->image);
}
static void