aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp')
-rw-r--r--src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp b/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
index e3eb755a..ff4ed77f 100644
--- a/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
+++ b/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
@@ -100,7 +100,7 @@ void KeySetExpireDateDialog::slot_confirm() {
void KeySetExpireDateDialog::init() {
ui_->setupUi(this);
- auto& settings = GlobalSettingStation::GetInstance().GetUISettings();
+ auto& settings = GlobalSettingStation::GetInstance().GetMainSettings();
bool longer_expiration_date = false;
try {