mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 03:16:59 +08:00
Fix: Clear stash after saving config
This commit is contained in:
2
gui.py
2
gui.py
@@ -329,9 +329,11 @@ class AlasGUI:
|
||||
config = read_file(filepath_config(self.alas_name))
|
||||
for k in modified.keys():
|
||||
deep_set(config, k, modified[k])
|
||||
logger.info(f'Save config {filepath_config(self.alas_name)}, {dict_to_kv(modified)}')
|
||||
write_file(filepath_config(self.alas_name), config)
|
||||
toast(t("Gui.Toast.ConfigSaved"),
|
||||
duration=1, position='right', color='success')
|
||||
modified = {}
|
||||
break
|
||||
|
||||
def _alas_thread_put_log(self):
|
||||
|
||||
Reference in New Issue
Block a user