From b78106cd63427952306b2c42e296e90d8d9e946f Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sun, 29 Aug 2021 10:52:51 -0400 Subject: [PATCH] one more keep on top --- DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py b/DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py index 558fd328..e7ed22e7 100644 --- a/DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py +++ b/DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py @@ -167,7 +167,7 @@ def main(): if not sg.running_windows(): sg.popup_error('I am terribly sorry to inform you that you are not running Windows and thus, no clicky sound for you.', keep_on_top=True, location=window.current_location()) else: - sound_file = sg.popup_get_file('Choose the file to play when changing counter', file_types=(('WAV', '*.wav'),), location=window.current_location(), default_path=sg.user_settings_get_entry('-sound file-', '')) + sound_file = sg.popup_get_file('Choose the file to play when changing counter', file_types=(('WAV', '*.wav'),), keep_on_top=True, location=window.current_location(), default_path=sg.user_settings_get_entry('-sound file-', '')) if sound_file is not None: sg.user_settings_set_entry('-sound file-', sound_file)