Skip to content

Commit

Permalink
User Preferences Window - Remove deprecated options from saving.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Apr 7, 2023
1 parent 8447cca commit c2e93f1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions python/mmSolver/tools/userprefswindow/ui/pref_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ def reset_prefs(self):
option_keys = [
pref_const.REG_EVNT_ADD_NEW_MKR_TO_KEY,
pref_const.REG_EVNT_ADD_NEW_LINE_TO_KEY,
pref_const.SOLVER_UI_VALIDATE_ON_OPEN_KEY,
pref_const.SOLVER_UI_SHOW_VALIDATE_BTN_KEY,
pref_const.SOLVER_UI_ALLOW_OBJECT_RELATIONS_KEY,
pref_const.SOLVER_UI_MINIMAL_UI_WHILE_SOLVING_KEY,
]
for key in option_keys:
Expand All @@ -115,18 +112,6 @@ def save_prefs(self):
pref_const.REG_EVNT_ADD_NEW_LINE_TO_KEY,
self.subForm.getAddNewLinesToConfigValue,
),
(
pref_const.SOLVER_UI_VALIDATE_ON_OPEN_KEY,
self.subForm.getSolverUIValidateOnOpenConfigValue,
),
(
pref_const.SOLVER_UI_SHOW_VALIDATE_BTN_KEY,
self.subForm.getSolverUIShowValidateButtonConfigValue,
),
(
pref_const.SOLVER_UI_ALLOW_OBJECT_RELATIONS_KEY,
self.subForm.getSolverUIAllowObjectRelationsConfigValue,
),
(
pref_const.SOLVER_UI_MINIMAL_UI_WHILE_SOLVING_KEY,
self.subForm.getSolverUIMinimalUIWhileSolvingConfigValue,
Expand Down

0 comments on commit c2e93f1

Please sign in to comment.