mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
Add the terminated status in the gui
This commit is contained in:
1
main.py
1
main.py
@@ -181,6 +181,7 @@ finally:
|
||||
loop.run_until_complete(client.shutdown())
|
||||
if not client.gui.close_requested:
|
||||
client.print(_("status", "terminated"))
|
||||
client.gui.status.update(_("gui", "status", "terminated"))
|
||||
loop.run_until_complete(client.gui.wait_until_closed())
|
||||
# save the application state
|
||||
# NOTE: we have to do it after wait_until_closed,
|
||||
|
||||
Reference in New Issue
Block a user