mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 21:49:03 +08:00
Fix: config update thread not start correctly
Accidentally delete self.alive
This commit is contained in:
4
gui.py
4
gui.py
@@ -323,11 +323,15 @@ class AlasGUI:
|
|||||||
toast('Not implemented', position='right', color='error')
|
toast('Not implemented', position='right', color='error')
|
||||||
|
|
||||||
|
|
||||||
|
def stop(self):
|
||||||
|
self.alive = False
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# setup gui
|
# setup gui
|
||||||
set_env(title="Alas", output_animation=False)
|
set_env(title="Alas", output_animation=False)
|
||||||
add_css(filepath_css('alas'))
|
add_css(filepath_css('alas'))
|
||||||
|
self.alive = True
|
||||||
|
defer_call(self.stop)
|
||||||
self.aside = output().style("container-aside")
|
self.aside = output().style("container-aside")
|
||||||
self.menu = output().style("container-menu")
|
self.menu = output().style("container-menu")
|
||||||
self.contents = output().style("container-contents")
|
self.contents = output().style("container-contents")
|
||||||
|
|||||||
Reference in New Issue
Block a user