Skip to content

Commit

Permalink
fix event config
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Jan 6, 2024
1 parent 9626f71 commit ed8cc0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/components/expand/featureSwitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(self, parent=None):

def alter_status(self, index):
self.boxes[index].setChecked(self.boxes[index].isChecked())
self._read_config()
for i in range(len(self.enable_list)):
self._event_config[i]['enabled'] = self.boxes[i].isChecked()
self._save_config()
Expand Down

0 comments on commit ed8cc0f

Please sign in to comment.