#FEATURE by cg
class: MenuPanel::Item
changed: #activeHelpText
also try the indication for the helpKey
--- a/MenuPanel.st Thu May 31 11:56:11 2018 +0200
+++ b/MenuPanel.st Fri Jun 01 14:48:51 2018 +0200
@@ -7157,7 +7157,11 @@
] ifFalse:[
self itemValue isSymbol ifTrue:[
key := self itemValue
- ].
+ ] ifFalse:[
+ (menuItem notNil and:[menuItem indication isSymbol]) ifTrue:[
+ key := menuItem indication
+ ]
+ ]
].
].
(key notNil and:[(app := menuPanel application) notNil]) ifTrue:[
@@ -7167,6 +7171,11 @@
self itemValue isSymbol ifTrue:[
text := app helpTextForKey:self itemValue.
].
+ text isNil ifTrue:[
+ (menuItem notNil and:[menuItem indication isSymbol]) ifTrue:[
+ text := app helpTextForKey:menuItem indication.
+ ]
+ ].
].
].
].
@@ -7187,6 +7196,8 @@
].
].
^ text
+
+ "Modified: / 01-06-2018 / 14:48:05 / Claus Gittinger"
!
activeHelpText:aText