unchecked: tabRequiresControl for VW compatibility
authorClaus Gittinger <cg@exept.de>
Tue, 01 Jul 2003 20:20:45 +0200
changeset 3902 5e079009f9f2
parent 3901 88018bc87ad9
child 3903 dde30ac28db3
unchecked: tabRequiresControl for VW compatibility
Controller.st
--- a/Controller.st	Tue Jul 01 16:39:56 2003 +0200
+++ b/Controller.st	Tue Jul 01 20:20:45 2003 +0200
@@ -475,10 +475,13 @@
     windowGroup notNil ifTrue:[
         action := key.
         key == #Tab ifTrue:[
-            view graphicsDevice shiftDown ifTrue:[
-                action := #FocusPrevious.
-            ] ifFalse:[
-                action := #FocusNext.
+            (view tabRequiresControl not
+            or:[ view sensor ctrlDown ]) ifTrue:[
+                view graphicsDevice shiftDown ifTrue:[
+                    action := #FocusPrevious.
+                ] ifFalse:[
+                    action := #FocusNext.
+                ]
             ]
         ].
         action == #FocusNext ifTrue:[
@@ -582,5 +585,5 @@
 !Controller class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Controller.st,v 1.52 2003-05-07 14:59:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Controller.st,v 1.53 2003-07-01 18:20:45 cg Exp $'
 ! !