fixed effect of selecting known/signed IDs in circle creation dialog

This commit is contained in:
csoler 2016-03-13 17:29:38 -04:00
parent 4cf57d64d8
commit 83e39d8ae5
2 changed files with 8 additions and 3 deletions

View File

@ -83,9 +83,9 @@ CreateCircleDialog::CreateCircleDialog()
ui.addButton->setEnabled(false); ui.addButton->setEnabled(false);
ui.radioButton_ListAll->setChecked(true); ui.radioButton_ListAll->setChecked(true);
QObject::connect(ui.radioButton_ListAll, 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(updateCircleGUI())) ; QObject::connect(ui.radioButton_ListAllPGP, SIGNAL(toggled(bool)), this, SLOT(idTypeChanged())) ;
QObject::connect(ui.radioButton_ListKnownPGP, SIGNAL(toggled(bool)), this, SLOT(updateCircleGUI())) ; 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_Public, SIGNAL(toggled(bool)), this, SLOT(updateCircleType(bool))) ;
QObject::connect(ui.radioButton_Self, 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) }//if (queue == mIdQueue)
} }
void CreateCircleDialog::idTypeChanged()
{
requestGxsIdentities();
}
void CreateCircleDialog::filterChanged(const QString &text) void CreateCircleDialog::filterChanged(const QString &text)
{ {
Q_UNUSED(text); Q_UNUSED(text);

View File

@ -58,6 +58,7 @@ private slots:
void createCircle(); void createCircle();
void filterChanged(const QString &text); void filterChanged(const QString &text);
void createNewGxsId(); void createNewGxsId();
void idTypeChanged();
/** Create the context popup menu and it's submenus */ /** Create the context popup menu and it's submenus */
void IdListCustomPopupMenu( QPoint point ); void IdListCustomPopupMenu( QPoint point );