mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
fix a gui bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2781 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
293efbf702
commit
fa53e8b55c
@ -262,9 +262,23 @@ void ConfCertDialog::loadDialog()
|
||||
ui.radioButton_trust_marginnaly->setIcon(QIcon(":/images/security-medium-off-48.png"));
|
||||
} else {
|
||||
ui.web_of_trust_label->setText(tr("Your trust in this peer is not set."));
|
||||
|
||||
//we have to set up the set exclusive to false in order to uncheck it all
|
||||
ui.radioButton_trust_fully->setAutoExclusive(false);
|
||||
ui.radioButton_trust_marginnaly->setAutoExclusive(false);
|
||||
ui.radioButton_trust_never->setAutoExclusive(false);
|
||||
|
||||
ui.radioButton_trust_fully->setChecked(false);
|
||||
ui.radioButton_trust_marginnaly->setChecked(false);
|
||||
ui.radioButton_trust_never->setChecked(false);
|
||||
|
||||
ui.radioButton_trust_fully->setAutoExclusive(true);
|
||||
ui.radioButton_trust_marginnaly->setAutoExclusive(true);
|
||||
ui.radioButton_trust_never->setAutoExclusive(true);
|
||||
|
||||
ui.radioButton_trust_never->setIcon(QIcon(":/images/security-low-off-48.png"));
|
||||
ui.radioButton_trust_fully->setIcon(QIcon(":/images/security-high-off-48.png"));
|
||||
ui.radioButton_trust_marginnaly->setIcon(QIcon(":/images/security-medium-off-48.png"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user