checkin from browser
authorClaus Gittinger <cg@exept.de>
Wed, 04 Oct 2000 20:44:39 +0200
changeset 2294 3429f3798941
parent 2293 edeb8b9be073
child 2295 afa4d722c92b
checkin from browser
ListSelectionBox.st
--- a/ListSelectionBox.st	Sat Sep 30 17:52:39 2000 +0200
+++ b/ListSelectionBox.st	Wed Oct 04 20:44:39 2000 +0200
@@ -265,7 +265,7 @@
                         enterField notNil ifTrue:[
                             string := enterField contents.
                             "/ find the first list-entry, starting with entered text
-                            index := selectionList list findFirst:[:line | line string startsWith:string string].
+                            index := (selectionList list ? #()) findFirst:[:line | line string startsWith:string string].
                             index ~~ 0 ifTrue:[
                                 selectionList makeLineVisible:index.
                             ].
@@ -376,5 +376,5 @@
 !ListSelectionBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/ListSelectionBox.st,v 1.42 2000-09-27 07:41:16 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/ListSelectionBox.st,v 1.43 2000-10-04 18:44:39 cg Exp $'
 ! !