[gimp/soc-2011-warp: 62/72] warp tool: fix commiting the deformation not working



commit 4e12574019b9eb8361ff0f4c8a268b1a1cd97603
Author: Michael Murà <batolettre gmail com>
Date:   Mon Aug 1 19:04:57 2011 +0200

    warp tool: fix commiting the deformation not working

 app/tools/gimpwarptool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index 0ea520e..d8a19b4 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -273,9 +273,9 @@ gimp_warp_tool_key_press (GimpTool    *tool,
   switch (kevent->keyval)
     {
     case GDK_KEY_BackSpace:
-    case GDK_KEY_Return:
       return TRUE;
 
+    case GDK_KEY_Return:
     case GDK_KEY_KP_Enter:
     case GDK_KEY_ISO_Enter:
       gimp_tool_control_set_preserve (tool->control, TRUE);



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