Skip to content

Commit 9b6a9e3

Browse files
committed
fix
1 parent 72be7b1 commit 9b6a9e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ngui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@ def __init__(self):
277277

278278

279279
class MainWindow(Window):
280-
config_exists = False
281-
280+
282281
def deal_emit_slot(self, set_status):
283282
if set_status and not self.config_exists:
284283
self.setSuccessinfo("已经准备好,可以开始了!")
@@ -444,6 +443,7 @@ def __init__(self):
444443
self._frame()
445444
self._eventfilter()
446445
self.doFadeIn()
446+
self.config_exists = True
447447

448448
# 判断配置文件是否存在
449449
if not os.path.exists(working_dir + "/config.json"):

0 commit comments

Comments
 (0)