Skip to content
Snippets Groups Projects
Commit b37f85ff authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

add file_types=(("cnv files", "*.cnv"),)

parent fd26e249
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,8 @@ if args.debug:
if len(sys.argv) == 1:
# define GUI layout
layout = ([[sg.Text('File(s) to read and convert')],
[sg.Input(size=(40, 1)), sg.FileBrowse()],
[sg.Input(size=(40, .8)), sg.FileBrowse(
file_types=(("cnv files", "*.cnv"),))],
[sg.Checkbox('PRES'), sg.Checkbox('TEMP'), sg.Checkbox('PSAL')],
[sg.CloseButton('Run'), sg.CloseButton('Cancel')]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment