diff options
author | saturneric <[email protected]> | 2024-11-17 13:33:11 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-17 13:33:11 +0000 |
commit | 073d3d30bdc8949410fabb5326a99cb1d9437141 (patch) | |
tree | 65e5bc7545ea5e21b6ab07c5236c449369454531 /src/ui/dialog/controller/GnuPGControllerDialog.cpp | |
parent | feat: add restrictions to key database (diff) | |
download | GpgFrontend-073d3d30bdc8949410fabb5326a99cb1d9437141.tar.gz GpgFrontend-073d3d30bdc8949410fabb5326a99cb1d9437141.zip |
fix: should restart app after editing key db infos
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/controller/GnuPGControllerDialog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.cpp b/src/ui/dialog/controller/GnuPGControllerDialog.cpp index 1ae1278b..2d0bab6e 100644 --- a/src/ui/dialog/controller/GnuPGControllerDialog.cpp +++ b/src/ui/dialog/controller/GnuPGControllerDialog.cpp @@ -345,7 +345,11 @@ void GnuPGControllerDialog::slot_add_new_key_database() { key_database.path = path; key_databases.append(key_database); + // refresh ui slot_refresh_key_database_table(); + + // announce the restart + this->slot_set_restart_needed(kDeepRestartCode); }); dialog->show(); } @@ -390,5 +394,8 @@ void GnuPGControllerDialog::slot_remove_existing_key_database() { } this->slot_refresh_key_database_table(); + + // announce the restart + this->slot_set_restart_needed(kDeepRestartCode); } } // namespace GpgFrontend::UI |