# HG changeset patch # User ca # Date 903189834 -7200 # Node ID dc4df8952e82921539960d6f78f18aec2b53e1c6 # Parent f4f7d2ebd3ce0af50376f64882b648ba08715eec check whether imageEditView is nil not yet initialized diff -r f4f7d2ebd3ce -r dc4df8952e82 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 !