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



commit b9c6424858322dd5a52ad66fbd37b18ecfee4a3c
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]