UIPainter.st
changeset 124 98d26d6f01cb
parent 121 96d6feeeb049
child 127 95070ea7ae42
--- a/UIPainter.st	Sat May 24 05:09:11 1997 +0200
+++ b/UIPainter.st	Mon May 26 09:46:53 1997 +0200
@@ -966,7 +966,7 @@
     topView == aTopView ifTrue:[
         super closeRequestFor:aTopView
     ] ifFalse:[
-        aTopView == selectionPanel window ifTrue:[
+        (selectionPanel notNil and:[aTopView == selectionPanel window]) ifTrue:[
             aTopView application:nil.
             aTopView terminate.
             selectionPanel := nil.