#BUGFIX by cg draft
authorClaus Gittinger <cg@exept.de>
Sat, 11 Nov 2017 17:30:01 +0100
changeset 3500 51cbdcf5b2cb
parent 3499 8808fb1f10b3
child 3501 de5acee79014
#BUGFIX by cg class: Tools::ViewTreeInspectorApplication changed: #processButtonReleaseEvent: care widgets being no longer present
Tools__ViewTreeApplication.st
--- a/Tools__ViewTreeApplication.st	Wed Nov 01 21:47:48 2017 +0100
+++ b/Tools__ViewTreeApplication.st	Sat Nov 11 17:30:01 2017 +0100
@@ -1329,13 +1329,17 @@
 
     model rootItem recursiveDo:[:anItem|
         widget := anItem widget.
-        origin := widget originRelativeTo:rootView.
-
-        (rectangle containsRect:(Rectangle origin:origin extent:(widget extent))) ifTrue:[
-            newItems add:anItem.
-        ]
+        widget notNil ifTrue:[
+            origin := widget originRelativeTo:rootView.
+
+            (rectangle containsRect:(Rectangle origin:origin extent:(widget extent))) ifTrue:[
+                newItems add:anItem.
+            ]
+        ].
     ].
     model value:newItems.
+
+    "Modified: / 11-11-2017 / 17:24:59 / cg"
 !
 
 processEvent:anEvent