mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-10 13:40:15 +08:00
GUI: Make status window always come to front
This commit is contained in:
parent
7b6a3ff4be
commit
7dc28e836c
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ def gui_thread_runner(
|
||||||
)
|
)
|
||||||
# Finalize the window
|
# Finalize the window
|
||||||
event, _ = progress_window.read(timeout=0.01)
|
event, _ = progress_window.read(timeout=0.01)
|
||||||
progress_window.bring_to_front()
|
# window.bring_to_front() does not work, so we need to force focus on it
|
||||||
|
progress_window.TKroot.focus_force()
|
||||||
|
|
||||||
read_stdout_queue = __stdout
|
read_stdout_queue = __stdout
|
||||||
read_stderr_queue = True
|
read_stderr_queue = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue