changed: #keyPress:x:y:
close behavior when escape is pressed while a subview is open
--- a/MenuView.st Mon Oct 12 13:41:13 2009 +0200
+++ b/MenuView.st Mon Oct 12 14:49:03 2009 +0200
@@ -1885,11 +1885,10 @@
aKey == #Escape ifTrue:[
masterView notNil ifTrue:[
masterView hideSubmenu.
-"/ masterView regainControl.
masterView hide.
+ ^ self.
].
superView hide.
-
^ self
].
aKey == #CursorRight ifTrue:[
@@ -2915,9 +2914,9 @@
!MenuView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/MenuView.st,v 1.158 2009-10-12 10:10:14 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/MenuView.st,v 1.159 2009-10-12 12:49:03 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libwidg/MenuView.st,v 1.158 2009-10-12 10:10:14 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/MenuView.st,v 1.159 2009-10-12 12:49:03 cg Exp $'
! !