Skip to content

Commit

Permalink
fix: UI not set from config (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Apr 8, 2024
1 parent 5c9fcc9 commit ff818b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/controllers/main_window/load_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,9 @@ def load_config(self):
self.Ui.checkBox_cd_part_c.setChecked('endc' in cd_char)
self.Ui.checkBox_cd_part_01.setChecked('digital' in cd_char) # 允许分集识别数字
self.Ui.checkBox_cd_part_1_xxx.setChecked('middle_number' in cd_char)
self.Ui.checkBox_cd_part_underline.setChecked('underline' in cd_char) # 下划线分隔符
self.Ui.checkBox_cd_part_space.setChecked('space' in cd_char)
self.Ui.checkBox_cd_part_point.setChecked('point' in cd_char)
# endregion

pic_name = int(config.pic_name) # 图片命名规则
Expand Down

0 comments on commit ff818b9

Please sign in to comment.