#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Thu, 08 Dec 2016 11:01:44 +0100
changeset 17153 52b99321786d
parent 17152 983f638ea6c1
child 17154 228a38eb12b7
#BUGFIX by stefan class: Tools::Inspector2 allow to inspect Structure
Tools__Inspector2.st
--- a/Tools__Inspector2.st	Thu Dec 08 10:40:15 2016 +0100
+++ b/Tools__Inspector2.st	Thu Dec 08 11:01:44 2016 +0100
@@ -1551,8 +1551,8 @@
     tabs := OrderedCollection new.        
 
     "/ Old style - tabs are specified by method #inspector2Tabs
-    (theObject isProtoObject or:[theObject isNil]) ifTrue:[
-        "kludge for ProtoObject, which does not implement this selector
+    (theObject isProtoObject or:[theObject isNil or:[theObject isStructure]]) ifTrue:[
+        "kludge for ProtoObject and Structure, which does not implement this selector
          nor #perform: -- see #initializeTab:"
         selectors := #(inspector2TabForBasicInspect).
     ] ifFalse:[