diff options
author | saturneric <[email protected]> | 2024-10-26 14:20:13 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-10-26 14:20:13 +0000 |
commit | aa90cf1eb97e39f99e622753bb0624ed8dff7775 (patch) | |
tree | ec2f334903f4d8e9a179dc88d46911a649c02c7d /src/ui/dialog/keypair_details/KeyNewUIDDialog.cpp | |
parent | fix: should check key status immediately after get it (diff) | |
download | GpgFrontend-aa90cf1eb97e39f99e622753bb0624ed8dff7775.tar.gz GpgFrontend-aa90cf1eb97e39f99e622753bb0624ed8dff7775.zip |
fix: should select channel before any gpg operation
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/keypair_details/KeyNewUIDDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/keypair_details/KeyNewUIDDialog.cpp b/src/ui/dialog/keypair_details/KeyNewUIDDialog.cpp index 398dab40..76eb94c0 100644 --- a/src/ui/dialog/keypair_details/KeyNewUIDDialog.cpp +++ b/src/ui/dialog/keypair_details/KeyNewUIDDialog.cpp @@ -95,8 +95,8 @@ void KeyNewUIDDialog::slot_create_new_uid() { } auto error_string = error_stream.readAll(); if (error_string.isEmpty()) { - if (GpgUIDOperator::GetInstance().AddUID( - m_key_, name_->text(), comment_->text(), email_->text())) { + if (GpgUIDOperator::GetInstance(current_gpg_context_channel_) + .AddUID(m_key_, name_->text(), comment_->text(), email_->text())) { emit finished(1); emit SignalUIDCreated(); } else { |