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

window.Finalize() and not window.Finalize

parent d9aaca3e
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,8 @@ def defineGUI():
# create a local instance windows used to reload the saved config from file
window = sg.Window('Oceano converter', layout)
window.Finalize
#window.LoadFromDisk(configfile)
window.Finalize()
window.LoadFromDisk(configfile)
return window
......@@ -207,6 +207,7 @@ if __name__ == "__main__":
while True:
# display the main windows
event, values = window.Read()
#print(event, values)
if event == 'Cancel' or event == None:
......@@ -230,6 +231,7 @@ if __name__ == "__main__":
device = values['_DEVICE_']
updateFilesBrowseCombo(
ti[device], filesBrowsePosition_column, filesBrowsePosition_row)
# TODOS: reset checkbox
# update the Multilines instance from FilesBrowse return
if event == '_HIDDEN_':
......
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