From fa53e8b55c2b94dced103eaef2bd8d85efec1d95 Mon Sep 17 00:00:00 2001 From: joss17 Date: Sun, 25 Apr 2010 17:07:04 +0000 Subject: [PATCH] fix a gui bug git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2781 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/connect/ConfCertDialog.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/retroshare-gui/src/gui/connect/ConfCertDialog.cpp b/retroshare-gui/src/gui/connect/ConfCertDialog.cpp index 10ee1e14b..49488d871 100644 --- a/retroshare-gui/src/gui/connect/ConfCertDialog.cpp +++ b/retroshare-gui/src/gui/connect/ConfCertDialog.cpp @@ -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")); } }