[gimp] app: HALT the crop tool when clicking on another display



commit 5377213a821f866f12b9bc3b16d14a0673654637
Author: Michael Natterer <mitch gimp org>
Date:   Thu Jun 29 22:17:29 2017 +0200

    app: HALT the crop tool when clicking on another display
    
    instead of calling COMMIT. Not all tools are the same, this might be
    right for other tools, but for crop it just feels broken.

 app/tools/gimpcroptool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpcroptool.c b/app/tools/gimpcroptool.c
index e665a7b..848cb61 100644
--- a/app/tools/gimpcroptool.c
+++ b/app/tools/gimpcroptool.c
@@ -212,7 +212,7 @@ gimp_crop_tool_button_press (GimpTool            *tool,
   GimpCropTool *crop_tool = GIMP_CROP_TOOL (tool);
 
   if (tool->display && display != tool->display)
-    gimp_tool_control (tool, GIMP_TOOL_ACTION_COMMIT, tool->display);
+    gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, tool->display);
 
   if (! tool->display)
     {


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