--- a/MenuPanel.st Wed May 23 17:32:46 2018 +0200
+++ b/MenuPanel.st Thu May 24 11:07:01 2018 +0200
@@ -4400,18 +4400,16 @@
"needs only the focus if I'am a toolbar; all events are delegated
to my subMenus"
-"/ old:
-"/ ^ self isPopUpView not
-
"/ I am not sure how this really should be -
"/ I guess, it needs a more intelligent and dynamic decision.
"/ for now, the menuPanelTakesFocusOnClick returns true, otherwise,
"/ we cannot control menus with the keyboard.
self isPopUpView ifTrue:[
^ false
- ] ifFalse:[
- ^ UserPreferences current menuPanelTakesFocusOnClick.
- ]
+ ].
+ ^ UserPreferences current menuPanelTakesFocusOnClick.
+
+ "Modified (comment): / 24-05-2018 / 11:05:51 / Claus Gittinger"
! !
!MenuPanel methodsFor:'grabbing'!