MenuPanel.st
branchjv
changeset 5130 436b5fa0e195
parent 5097 5fbbb3dbef78
parent 5127 bdd70bb582e2
child 5150 505635b9f639
child 5197 4c7442c47ab5
--- 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"