diff options
author | saturneric <[email protected]> | 2024-11-19 15:15:56 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-19 15:15:56 +0000 |
commit | 29b46733fedf884cfac1f77888e9310f30631718 (patch) | |
tree | a984e97739ab931c08da6c7cdec42a20921e7476 /src/ui/dialog/keypair_details/KeyPairUIDTab.cpp | |
parent | feat: remove unused codes (diff) | |
download | GpgFrontend-29b46733fedf884cfac1f77888e9310f30631718.tar.gz GpgFrontend-29b46733fedf884cfac1f77888e9310f30631718.zip |
feat: add ui some restrictions when primary key not exists
Diffstat (limited to 'src/ui/dialog/keypair_details/KeyPairUIDTab.cpp')
-rw-r--r-- | src/ui/dialog/keypair_details/KeyPairUIDTab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/keypair_details/KeyPairUIDTab.cpp b/src/ui/dialog/keypair_details/KeyPairUIDTab.cpp index 87f5e10e..fdae5223 100644 --- a/src/ui/dialog/keypair_details/KeyPairUIDTab.cpp +++ b/src/ui/dialog/keypair_details/KeyPairUIDTab.cpp @@ -59,6 +59,7 @@ KeyPairUIDTab::KeyPairUIDTab(int channel, const QString& key_id, if (m_key_.IsHasMasterKey()) { manage_uid_button->setMenu(manage_selected_uid_menu_); } else { + add_uid_button->setDisabled(true); manage_uid_button->setDisabled(true); } |