--- a/InspectorView.st Mon Mar 17 18:20:08 1997 +0100
+++ b/InspectorView.st Tue Mar 18 18:23:26 1997 +0100
@@ -767,16 +767,16 @@
showLast
"user clicked on an instvar - show value in workspace"
- |idx|
+ |lastIdx|
- idx := listView list size.
- Object errorSignal catch:[
- self showSelection:idx.
- listView selection:idx.
- ].
+ lastIdx := listView list size.
+ lastIdx ~~ 0 ifTrue:[
+ self showSelection:lastIdx.
+ listView selection:lastIdx.
+ ]
"Created: 28.6.1996 / 15:06:38 / cg"
- "Modified: 17.3.1997 / 17:23:52 / cg"
+ "Modified: 18.3.1997 / 18:22:54 / cg"
!
showSelection:lineNr
@@ -854,5 +854,5 @@
!InspectorView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.60 1997-03-17 17:20:08 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.61 1997-03-18 17:23:26 cg Exp $'
! !