From 83e39d8ae5f8102001f723fd64d1df6bc0b570a9 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 13 Mar 2016 17:29:38 -0400 Subject: [PATCH] fixed effect of selecting known/signed IDs in circle creation dialog --- retroshare-gui/src/gui/Circles/CreateCircleDialog.cpp | 10 +++++++--- retroshare-gui/src/gui/Circles/CreateCircleDialog.h | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/Circles/CreateCircleDialog.cpp b/retroshare-gui/src/gui/Circles/CreateCircleDialog.cpp index 29e3e8e43..17e897119 100644 --- a/retroshare-gui/src/gui/Circles/CreateCircleDialog.cpp +++ b/retroshare-gui/src/gui/Circles/CreateCircleDialog.cpp @@ -83,9 +83,9 @@ CreateCircleDialog::CreateCircleDialog() ui.addButton->setEnabled(false); ui.radioButton_ListAll->setChecked(true); - QObject::connect(ui.radioButton_ListAll, SIGNAL(toggled(bool)), this, SLOT(updateCircleGUI())) ; - QObject::connect(ui.radioButton_ListAllPGP, SIGNAL(toggled(bool)), this, SLOT(updateCircleGUI())) ; - QObject::connect(ui.radioButton_ListKnownPGP, SIGNAL(toggled(bool)), this, SLOT(updateCircleGUI())) ; + QObject::connect(ui.radioButton_ListAll, SIGNAL(toggled(bool)), this, SLOT(idTypeChanged())) ; + QObject::connect(ui.radioButton_ListAllPGP, SIGNAL(toggled(bool)), this, SLOT(idTypeChanged())) ; + QObject::connect(ui.radioButton_ListKnownPGP, SIGNAL(toggled(bool)), this, SLOT(idTypeChanged())) ; QObject::connect(ui.radioButton_Public, SIGNAL(toggled(bool)), this, SLOT(updateCircleType(bool))) ; QObject::connect(ui.radioButton_Self, SIGNAL(toggled(bool)), this, SLOT(updateCircleType(bool))) ; @@ -764,6 +764,10 @@ void CreateCircleDialog::loadRequest(const TokenQueue *queue, const TokenRequest }//if (queue == mIdQueue) } +void CreateCircleDialog::idTypeChanged() +{ + requestGxsIdentities(); +} void CreateCircleDialog::filterChanged(const QString &text) { Q_UNUSED(text); diff --git a/retroshare-gui/src/gui/Circles/CreateCircleDialog.h b/retroshare-gui/src/gui/Circles/CreateCircleDialog.h index 570a44bc6..2cb050c04 100644 --- a/retroshare-gui/src/gui/Circles/CreateCircleDialog.h +++ b/retroshare-gui/src/gui/Circles/CreateCircleDialog.h @@ -58,6 +58,7 @@ private slots: void createCircle(); void filterChanged(const QString &text); void createNewGxsId(); + void idTypeChanged(); /** Create the context popup menu and it's submenus */ void IdListCustomPopupMenu( QPoint point );