check whether imageEditView is nil
authorca
Sat, 15 Aug 1998 16:03:54 +0200
changeset 956 dc4df8952e82
parent 955 f4f7d2ebd3ce
child 957 c09018dc6954
check whether imageEditView is nil not yet initialized
ImageEditor.st
--- a/ImageEditor.st	Sat Aug 15 15:34:47 1998 +0200
+++ b/ImageEditor.st	Sat Aug 15 16:03:54 1998 +0200
@@ -1540,6 +1540,9 @@
 mouseKeyColorMode: aMode
     "sets the mouseKeyColorMode to aMode"
 
+    imageEditView isNil ifTrue:[
+        ^ true
+    ].
     ^imageEditView mouseKeyColorMode = aMode
 !