mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-12 01:09:26 -04:00
disable and hide signature checkbox when key is already signed in ConnectWizard
This commit is contained in:
parent
42b8eccfd2
commit
ddb2c45790
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue