!fixup GUI: Workaround to make config window close faster

This commit is contained in:
deajan 2025-06-13 17:45:50 +02:00
parent 46dadc4d0b
commit ce8fbb7bf3
2 changed files with 1 additions and 1 deletions

View file

@ -2973,6 +2973,7 @@ Google Cloud storage: GOOGLE_PROJECT_ID GOOGLE_APPLICATION_CREDENTIALS\n\
window["repo_uri_cloud_hint"].Update(visible=False)
# Closing this window takes ages
window.hide()
quick_close_simplegui_window(window)
del window
return full_config

View file

@ -400,7 +400,6 @@ def quick_close_simplegui_window(window: sg.Window) -> None:
"""
if window:
try:
window.hide()
window.close()
except Exception as exc:
logger.error(f"Error closing SimpleGUI window: {exc}")