--- a/MenuPanel.st Mon Jun 06 12:39:13 2016 +0100
+++ b/MenuPanel.st Tue Jun 07 06:40:31 2016 +0200
@@ -8908,27 +8908,27 @@
!
isSelected:isSelected
- "change selection to a state. Dependant on the state open or hide an existing
+ "change selection to a state. Depending on the state open or hide an existing
submenu and perform a redraw"
(isSelected and:[menuPanel notNil]) ifFalse:[
- self invalidate.
- self hideSubmenu.
- ^ self
+ self invalidate.
+ self hideSubmenu.
+ ^ self
].
menuPanel realized ifFalse:[ ^ self ].
(indication isNil or:[menuItem isButton not]) ifTrue:[
- self invalidate
+ self invalidate
].
self hasSubmenu ifFalse:[ ^ self].
self hasDelayedMenu ifTrue:[
- menuPanel openDelayed:self
+ menuPanel openDelayed:self
] ifFalse:[
- self setupSubmenu.
- subMenu notNil ifTrue:[ self openSubmenu ].
+ self setupSubmenu.
+ subMenu notNil ifTrue:[ self openSubmenu ].
].
"Modified: / 07-11-2006 / 11:08:03 / cg"