disabled certificate signature when using librnp

This commit is contained in:
csoler 2024-08-19 18:53:25 +02:00
parent 37261761dd
commit a9c87225e2

View File

@ -196,7 +196,12 @@ void PGPKeyDialog::load()
ui.trustlevel_CB->show();
ui.is_signing_me->show();
ui.signersLabel->setText(tr("This key is signed by :")+" ");
#ifdef USE_RNP_LIB
ui.signKeyButton->setEnabled(false);
ui.signKeyButton->setToolTip("Disabled because key signing is not yet implemented in RNP lib");
#else
ui.signKeyButton->setEnabled(!detail.ownsign);
#endif
if (detail.accept_connection)
{