--- a/MenuPanel.st Thu Jun 07 11:05:12 2018 +0200
+++ b/MenuPanel.st Thu Jun 07 11:09:34 2018 +0200
@@ -7148,7 +7148,7 @@
Here, a few attributes are tried as fallback key,
in case no activeHelpKey was defined in the menuSpec.
As a last fallback, the raw label is returned,
- which might help if the item is an iconic item.
+ iff the displayLabel is empty; this might help if the item is an iconic item.
This should actually be FIXED by adding an activeHelpKey,
and therefore, a warning is generated if running in the IDE."
@@ -7200,10 +7200,14 @@
].
].
].
-
- ^ text ? rawLabel
-
- "Modified (comment): / 07-06-2018 / 11:04:11 / Claus Gittinger"
+ text isNil ifTrue:[
+ displayLabel isEmptyOrNil ifTrue:[
+ ^ rawLabel
+ ].
+ ].
+ ^ text
+
+ "Modified: / 07-06-2018 / 11:08:44 / Claus Gittinger"
!
activeHelpText:aText