Skip to content

Commit 248adaf

Browse files
committed
恢复默认设置后会显示日志。
1 parent 68254e2 commit 248adaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ def onOpenConfigFolderButtonClicked(self):
104104
os.startfile(os.path.join(os.path.expanduser('~'), "PCRJJCAnalyzer"))
105105
def onResetSettingsButton(self):
106106
util.config_writeConfig(util.default_dict)
107+
util.loadConfig()
108+
global_logger.info("已重置设定。")
107109
def onLoggingLevelDropboxSelect(self, loggingLevel):
108110
if loggingLevel == "Warning":
109111
logging.getLogger().setLevel(logging.WARNING)

0 commit comments

Comments
 (0)