The current implementation of imageBrowser assumes that the last file type entry is "*.*", in my case I would like not to give the option to the user to select anything but a supported image file type and therefore don't have "*.*" as the last entry in the file types.
However this means that files of type "*.jpg" which is my last type are not shown if I select "All supported formats".
I changed at about line 515,
from:
for ftypes in self.fl_types[1:-1]: # get list of all
filter = self.fl_ext_types[ftypes]
#print "filter = ", filter
to:
if self.fl_types[-1:-1] == '*.*':
allTypes = self.fl_types[1:-1]
else:
allTypes = self.fl_types[1:]
for ftypes in allTypes: # get list of all
filter = self.fl_ext_types[ftypes]
#print "filter = ", filter
Robin, if this is an acceptable change would you mind including this in an upcoming version?
Werner