MenuEditor.st
changeset 1078 84683b5a6979
parent 1069 7196ca547f5d
child 1083 46a1cb1c595d
--- a/MenuEditor.st	Tue Mar 23 11:33:40 1999 +0100
+++ b/MenuEditor.st	Tue Mar 23 11:34:49 1999 +0100
@@ -2190,9 +2190,12 @@
 !MenuEditor methodsFor:'selection'!
 
 imageSelected
-
-    (aspects at: #icon) value: self selectionOfImage value string
-
+    |imgSel|
+
+    imgSel := self selectionOfImage value.
+    imgSel notNil ifTrue:[
+        (aspects at: #icon) value: imgSel string
+    ]
 !
 
 menuChanged