Add ability to change the key

This commit is contained in:
Miguel Jacq 2025-10-31 16:46:42 +11:00
parent 0caf0efeef
commit f778afd268
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
4 changed files with 50 additions and 4 deletions

View file

@ -231,7 +231,7 @@ class MainWindow(QMainWindow):
self._save_date(self._current_date_iso(), explicit)
def _open_settings(self):
dlg = SettingsDialog(self.cfg, self)
dlg = SettingsDialog(self.cfg, self.db, self)
if dlg.exec() == QDialog.Accepted:
new_cfg = dlg.config
if new_cfg.path != self.cfg.path: