mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
disable and hide signature checkbox when key is already signed in ConnectWizard
This commit is contained in:
parent
42b8eccfd2
commit
ddb2c45790
@ -511,8 +511,8 @@ void ConnectFriendWizard::initializePage(int id)
|
|||||||
else
|
else
|
||||||
ui->alreadyRegisteredLabel->hide();
|
ui->alreadyRegisteredLabel->hide();
|
||||||
if(tmp_det.ownsign) {
|
if(tmp_det.ownsign) {
|
||||||
ui->signGPGCheckBox->setChecked(true);
|
ui->signGPGCheckBox->setChecked(false); // if already signed, we dont allow to sign it again, and dont show the box.
|
||||||
ui->signGPGCheckBox->setEnabled(false);
|
ui->signGPGCheckBox->setVisible(false);
|
||||||
ui->signGPGCheckBox->setToolTip(tr("You have already signed this key"));
|
ui->signGPGCheckBox->setToolTip(tr("You have already signed this key"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user