This commit is contained in:
oleting
2020-12-21 10:15:27 +01:00
parent 88a01db30a
commit 543af7dadc

9
gui.py
View File

@@ -90,6 +90,15 @@ while True:
and f.lower().endswith(('.java', '.txt'))
]
window['-JAVA FILE LIST-'].update(fnames)
elif event == '-JAVA FILE LIST-':
try:
filename = os.path.join(
values["-JAVA FOLDER-"], values["-JAVA FILE LIST-"][0]
)
window["-TOUT-"].update(filename)
except:
pass