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