don't clear the selection as a side-effect of "Edit->Cut" (bug #510534).

2008-01-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpselection.c (gimp_selection_extract): don't clear
	the selection as a side-effect of "Edit->Cut" (bug #510534).

svn path=/trunk/; revision=24662
This commit is contained in:
Sven Neumann
2008-01-21 17:53:36 +00:00
committed by Sven Neumann
parent 8191536f8b
commit acbf4ade46
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-01-21 Sven Neumann <sven@gimp.org>
* app/core/gimpselection.c (gimp_selection_extract): don't clear
the selection as a side-effect of "Edit->Cut" (bug #510534).
2008-01-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcolorbar.c (gimp_color_bar_class_init): fix the

View File

@ -732,9 +732,6 @@ gimp_selection_extract (GimpChannel *selection,
if (GIMP_IS_DRAWABLE (pickable) && cut_image)
{
/* Clear the region */
gimp_channel_clear (selection, NULL, TRUE);
/* Update the region */
gimp_drawable_update (GIMP_DRAWABLE (pickable),
x1, y1, (x2 - x1), (y2 - y1));