Status: Accepted
Owner:
[hidden email]
Labels: Type-Bug
New issue 5885 by
[hidden email]: FileBrowser/FileList cannot reset
the search pattern
http://code.google.com/p/pharo/issues/detail?id=5885When you accept an empty pattern (which means no filter), then the file
list is empty..
Here is what's going on:
FileList>>pattern: aString
pattern := aString asString trimBoth.
pattern := pattern isEmptyOrNil
ifTrue: [ nil ]
ifFalse: [ pattern asRegex ].
self updateFileList.
Unfortunately, this message receive nil when we accept an empty pattern
text field...
nil asString -> 'nil', we then search files matching 'nil'
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker