load and saveImageFileNameFilters must return an orderedCollection
authorClaus Gittinger <cg@exept.de>
Wed, 29 Jul 1998 13:20:41 +0200
changeset 923 32fafd49c100
parent 922 0a5799408f54
child 924 0416d7cbae92
load and saveImageFileNameFilters must return an orderedCollection (for #add to work)
FileSelectionBrowser.st
--- a/FileSelectionBrowser.st	Wed Jul 29 01:12:22 1998 +0200
+++ b/FileSelectionBrowser.st	Wed Jul 29 13:20:41 1998 +0200
@@ -123,8 +123,9 @@
 !FileSelectionBrowser class methodsFor:'accessing'!
 
 loadImageFileNameFilters
-    ^self saveImageFileNameFilters addAll: #('*.jpeg' '*.jpg'); yourself
+    ^self saveImageFileNameFilters addAll: #('*.jpeg' '*.jpg' '*'); yourself
 
+    "Modified: / 29.7.1998 / 00:56:29 / cg"
 !
 
 projectFileNameFilters
@@ -133,8 +134,9 @@
 !
 
 saveImageFileNameFilters
-    ^Array withAll: #('*.xpm' '*.xbm' '*.gif' '*.tif' '*.tiff' '*.bmp')
+    ^ OrderedCollection withAll: #('*.xpm' '*.xbm' '*.gif' '*.tif' '*.tiff' '*.bmp')
 
+    "Modified: / 29.7.1998 / 00:55:14 / cg"
 ! !
 
 !FileSelectionBrowser class methodsFor:'interface specs'!