mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49: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
|
||||
ui->alreadyRegisteredLabel->hide();
|
||||
if(tmp_det.ownsign) {
|
||||
ui->signGPGCheckBox->setChecked(true);
|
||||
ui->signGPGCheckBox->setEnabled(false);
|
||||
ui->signGPGCheckBox->setChecked(false); // if already signed, we dont allow to sign it again, and dont show the box.
|
||||
ui->signGPGCheckBox->setVisible(false);
|
||||
ui->signGPGCheckBox->setToolTip(tr("You have already signed this key"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user