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/key_generate/KeygenDialog.h | |
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 'src/ui/dialog/key_generate/KeygenDialog.h')
-rw-r--r-- | src/ui/dialog/key_generate/KeygenDialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/dialog/key_generate/KeygenDialog.h b/src/ui/dialog/key_generate/KeygenDialog.h index b8d5a6da..8b9757d5 100644 --- a/src/ui/dialog/key_generate/KeygenDialog.h +++ b/src/ui/dialog/key_generate/KeygenDialog.h @@ -52,7 +52,7 @@ class KeyGenDialog : public GeneralDialog { * @param key The key to show details of * @param parent The parent of this widget */ - explicit KeyGenDialog(QWidget* parent = nullptr); + explicit KeyGenDialog(int channel, QWidget* parent = nullptr); signals: /** @@ -110,6 +110,8 @@ class KeyGenDialog : public GeneralDialog { std::vector<QCheckBox*> key_usage_check_boxes_; ///< ENCR, SIGN, CERT, AUTH QComboBox* gpg_contexts_combo_box_{}; + int default_gpg_context_channel_; + /** * @brief * |