From acbf4ade461279cf031e0dfe0e2190333c319dab Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 21 Jan 2008 17:53:36 +0000 Subject: [PATCH] don't clear the selection as a side-effect of "Edit->Cut" (bug #510534). 2008-01-21 Sven Neumann * 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 --- ChangeLog | 5 +++++ app/core/gimpselection.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64762e69a7..4da4f64b9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-21 Sven Neumann + + * 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 * app/widgets/gimpcolorbar.c (gimp_color_bar_class_init): fix the diff --git a/app/core/gimpselection.c b/app/core/gimpselection.c index 56971c80cb..fa5614155e 100644 --- a/app/core/gimpselection.c +++ b/app/core/gimpselection.c @@ -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));