easygui
easygui copied to clipboard
Filemask "*" overriding specified filetypes
Currently in master:easygui/boxes/fileboxsetup.py, line 67, allFileTypeObject is being inserted into position 0 of filetypeObjects. This causes the filemask "*" to be the first option and the specified filetype as option, which can be activated with a dropdown. I think it should be inserted at position -1.
Example:
yml_file = fileopenbox(title="Select YML file with log2settings flags", filetypes=["*.yml"],multiple=False)
results in
Good suggestion. Thanks also for the clear screenshot and code snippet.