Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blackboxo committed Sep 29, 2020
1 parent 72be7b1 commit 9b6a9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngui.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ def __init__(self):


class MainWindow(Window):
config_exists = False


def deal_emit_slot(self, set_status):
if set_status and not self.config_exists:
self.setSuccessinfo("已经准备好,可以开始了!")
Expand Down Expand Up @@ -444,6 +443,7 @@ def __init__(self):
self._frame()
self._eventfilter()
self.doFadeIn()
self.config_exists = True

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

0 comments on commit 9b6a9e3

Please sign in to comment.