do not eat RETURN key events
authorClaus Gittinger <cg@exept.de>
Fri, 15 Feb 2008 09:53:49 +0100
changeset 3555 8e422a2a3488
parent 3554 a59302240e32
child 3556 14bf0c73b00b
do not eat RETURN key events
ButtonController.st
--- a/ButtonController.st	Mon Feb 11 15:22:57 2008 +0100
+++ b/ButtonController.st	Fri Feb 15 09:53:49 2008 +0100
@@ -559,7 +559,7 @@
 
     view hasFocus ifTrue:[
         ((key == Character space)
-        or:[key == #Return]) ifTrue:[
+        "or:[key == #Return]") ifTrue:[
             "just simulate a buttonPress/release here."
             self buttonPress:1 x:0 y:0.
             self buttonRelease:1 x:0 y:0.
@@ -792,5 +792,5 @@
 !ButtonController class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/ButtonController.st,v 1.70 2007-03-16 12:30:47 mb Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/ButtonController.st,v 1.71 2008-02-15 08:53:49 cg Exp $'
 ! !