*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 11 Jul 2008 21:40:24 +0200
changeset 3474 cde8a45f74f0
parent 3473 6bc7203cb7b7
child 3475 8ed28a1e4e37
*** empty log message ***
FilenameWidgetWithHistory.st
--- a/FilenameWidgetWithHistory.st	Fri Jul 11 20:51:19 2008 +0200
+++ b/FilenameWidgetWithHistory.st	Fri Jul 11 21:40:24 2008 +0200
@@ -68,11 +68,10 @@
 !FilenameWidgetWithHistory methodsFor:'accessing'!
 
 historyList
-    ^ history ? #()
-!
-
-historyList:aCollection
-    history := aCollection
+    history isNil ifTrue:[
+        history := nil asValue
+    ].
+    ^ history
 !
 
 model
@@ -187,5 +186,5 @@
 !FilenameWidgetWithHistory class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/FilenameWidgetWithHistory.st,v 1.6 2008-07-11 18:51:19 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/FilenameWidgetWithHistory.st,v 1.7 2008-07-11 19:40:24 cg Exp $'
 ! !