MenuEditor.st
changeset 2948 b11312ccf82d
parent 2946 1994064bc8e2
child 3013 4aa95683c0fc
--- a/MenuEditor.st	Thu Jan 17 11:54:22 2013 +0100
+++ b/MenuEditor.st	Fri Jan 18 18:45:00 2013 +0100
@@ -4470,6 +4470,8 @@
     iconOrSymbol isNil ifTrue:[
         iconOrSymbol := aClass perform:selector.
     ].
+    iconOrSymbol isNil ifTrue:[^ self].
+
     iconOrSymbol isSymbol ifTrue:[
         icon := ToolbarIconLibrary perform:iconOrSymbol.
     ] ifFalse:[