#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Tue, 26 Sep 2017 16:41:47 +0200
changeset 4019 054964b89175
parent 4018 5cfaf6f42f16
child 4021 503aea13fab1
#REFACTORING by stefan class: MenuItem changed: #labelImage:
MenuItem.st
--- a/MenuItem.st	Tue Sep 26 12:27:32 2017 +0200
+++ b/MenuItem.st	Tue Sep 26 16:41:47 2017 +0200
@@ -545,11 +545,11 @@
 
     "/ VW compatibility: if I have a label also,
     "/ this will become a LabelAndImage.
-    something isImage ifTrue:[
-        label notNil ifTrue:[
-            labelImage := LabelAndIcon icon:labelImage string:label
-        ]
+    (something isImage and:[label notNil]) ifTrue:[
+        labelImage := LabelAndIcon icon:labelImage string:label.
     ].
+
+    "Modified: / 26-09-2017 / 12:29:32 / stefan"
 !
 
 nameKey