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 5, 2023
1 parent afa235d commit ad896b4
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 @@ -773,8 +773,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 ad896b4

Please sign in to comment.