diff options
author | saturneric <[email protected]> | 2024-05-03 18:17:25 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-05-03 18:17:25 +0000 |
commit | 1d9cffa54afdca117a43465fb350ee548ec2e41f (patch) | |
tree | 4facf6641e312b39d19c1388c87eb702ea720ace /src/ui/dialog/controller/GnuPGControllerDialog.cpp | |
parent | Merge remote-tracking branch 'origin/main' into develop (diff) | |
download | GpgFrontend-1d9cffa54afdca117a43465fb350ee548ec2e41f.tar.gz GpgFrontend-1d9cffa54afdca117a43465fb350ee548ec2e41f.zip |
fix: discard changes but text still remains
Diffstat (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.cpp')
-rw-r--r-- | src/ui/dialog/controller/GnuPGControllerDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.cpp b/src/ui/dialog/controller/GnuPGControllerDialog.cpp index b35d2a7d..1874e255 100644 --- a/src/ui/dialog/controller/GnuPGControllerDialog.cpp +++ b/src/ui/dialog/controller/GnuPGControllerDialog.cpp @@ -347,12 +347,12 @@ void GnuPGControllerDialog::apply_settings() { } auto GnuPGControllerDialog::get_restart_needed() const -> int { - return this->restart_needed_; + return this->restart_mode_; } void GnuPGControllerDialog::slot_set_restart_needed(int mode) { GF_UI_LOG_INFO("announce restart needed, mode: {}", mode); - this->restart_needed_ = mode; + this->restart_mode_ = mode; } auto GnuPGControllerDialog::check_custom_gnupg_path(QString path) -> bool { |