We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72be7b1 commit 9b6a9e3Copy full SHA for 9b6a9e3
1 file changed
ngui.py
@@ -277,8 +277,7 @@ def __init__(self):
277
278
279
class MainWindow(Window):
280
- config_exists = False
281
-
+
282
def deal_emit_slot(self, set_status):
283
if set_status and not self.config_exists:
284
self.setSuccessinfo("已经准备好,可以开始了!")
@@ -444,6 +443,7 @@ def __init__(self):
444
443
self._frame()
445
self._eventfilter()
446
self.doFadeIn()
+ self.config_exists = True
447
448
# 判断配置文件是否存在
449
if not os.path.exists(working_dir + "/config.json"):
0 commit comments