Merge pull request #4711 from PySimpleGUI/Dev-latest

Added bring_to_front... OMG what a HUGE difference it made. Can press…
This commit is contained in:
PySimpleGUI 2021-09-13 10:45:44 -04:00 committed by GitHub
commit b51b090a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,7 @@ def find_in_file(string, demo_files_dict, regex=False, verbose=False, window=Non
"""
# So you face a prediciment here. You wish to read files, both small and large; however the bigger the file/bigger the list, the longer to read the file.
# So you face a predicament here. You wish to read files, both small and large; however the bigger the file/bigger the list, the longer to read the file.
# This probably isn't what you want, right?
# Well, we can't use a direct command line to run grep and parse. But it is an option. The user may not have it.
# We could check if grep exists and if not use our method; but it isn't the best way.
@ -513,6 +513,7 @@ def make_window():
window['-OPTIONS BOTTOM-'].update(visible=False)
# sg.cprint_set_output_destination(window, ML_KEY)
window.bring_to_front()
return window