changed: #keyPress:x:y:view: check if WindowTreeView class is present
authorStefan Vogel <sv@exept.de>
Mon, 28 Feb 2011 19:08:00 +0100
changeset 2836 a2e82ebd3bc3
parent 2835 383fc6922db1
child 2837 491837239003
changed: #keyPress:x:y:view: check if WindowTreeView class is present
FlyByWindowInformation.st
--- a/FlyByWindowInformation.st	Mon Feb 07 12:26:34 2011 +0100
+++ b/FlyByWindowInformation.st	Mon Feb 28 19:08:00 2011 +0100
@@ -97,7 +97,11 @@
 
     key == $? ifTrue:[
         [
-            WindowTreeView openOn:(lastView topView) initialSelection:lastView.
+            WindowTreeView notNil ifTrue:[
+                WindowTreeView openOn:(lastView topView) initialSelection:lastView.
+            ] ifFalse:[
+                self warn:'WindowTreeView class is not present!!'.
+            ].
         ] fork.
         self stop.
         ^ true.