|
14 | 14 | import warnings |
15 | 15 | import PySimpleGUI as sg |
16 | 16 |
|
17 | | -version = '5.2.0' |
| 17 | +version = '5.3.0' |
18 | 18 | __version__ = version.split()[0] |
19 | 19 |
|
20 | 20 |
|
|
55 | 55 | 5.1.0 08-Apr-2024 Several new Demo Programs, updated Matplotlib ping demo, license ver 1.1 |
56 | 56 | 5.2.0 14-Aug-2024 Fixed erronous import error (when import line started with "from") |
57 | 57 | Added a new "Path" input so that an arbitrary file can be executed easily (or edited) |
| 58 | + 5.3.0 15-Aug-2024 One last change for the new path input... clear other fields if chars are entered |
58 | 59 | Copyright 2021, 2022, 2023, 2024 PySimpleSoft Inc. |
59 | 60 | """ |
60 | 61 |
|
@@ -982,7 +983,17 @@ def main(): |
982 | 983 | window['-FILTER NUMBER-'].update(f'{len(new_list)} files') |
983 | 984 | window['-FIND NUMBER-'].update('') |
984 | 985 | window['-FIND-'].update('') |
| 986 | + window['-RUN PATH-'].update('') |
985 | 987 | window['-FIND RE-'].update('') |
| 988 | + elif event == '-RUN PATH-': |
| 989 | + file_list = get_file_list() |
| 990 | + window['-FILTER-'].update('') |
| 991 | + window['-FILTER NUMBER-'].update(f'{len(file_list)} files') |
| 992 | + window['-FIND-'].update('') |
| 993 | + window['-DEMO LIST-'].update(file_list) |
| 994 | + window['-FIND NUMBER-'].update('') |
| 995 | + window['-FIND RE-'].update('') |
| 996 | + window['-ML-'].update('') |
986 | 997 | elif event == '-FOCUS FIND-': |
987 | 998 | window['-FIND-'].set_focus() |
988 | 999 | elif event == '-FOCUS FILTER-': |
|
0 commit comments