do return false in #wantsFocusWithPointerEnter if an ecitor is open
authorca
Wed, 14 Apr 2004 12:37:09 +0200
changeset 2701 d95a0a764f4d
parent 2700 7f796b46e1c7
child 2702 35892dc4449a
do return false in #wantsFocusWithPointerEnter if an ecitor is open
SelectionInListModelView.st
--- a/SelectionInListModelView.st	Wed Apr 07 12:44:56 2004 +0200
+++ b/SelectionInListModelView.st	Wed Apr 14 12:37:09 2004 +0200
@@ -1740,6 +1740,10 @@
 
     |pref|
 
+    (editorView notNil and:[editorView realized]) ifTrue:[
+        ^ false
+    ].
+
     pref := UserPreferences current focusFollowsMouse.
     (pref ~~ false
     and:[(styleSheet at:#'selection.requestFocusOnPointerEnter' default:true)
@@ -2339,5 +2343,5 @@
 !SelectionInListModelView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInListModelView.st,v 1.98 2004-03-05 09:33:49 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInListModelView.st,v 1.99 2004-04-14 10:37:09 ca Exp $'
 ! !