Skip to content

Commit

Permalink
ui,prefs: enable/disable max days db checkbox
Browse files Browse the repository at this point in the history
When selecting to store events on disk, the max days db checkbox must be
clickable.
  • Loading branch information
gustavo-iniguez-goya committed Nov 3, 2023
1 parent e63f4c1 commit 9d1182a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/opensnitch/dialogs/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,6 @@ def _reset_status_message(self):
self._hide_status_label()

def _enable_db_cleaner_options(self, enable, db_max_days):
self.checkDBMaxDays.setChecked(enable)
self.checkDBMaxDays.setEnabled(enable)
self.spinDBMaxDays.setEnabled(enable)
self.spinDBPurgeInterval.setEnabled(enable)
self.labelDBPurgeInterval.setEnabled(enable)
Expand Down

0 comments on commit 9d1182a

Please sign in to comment.