fixed creation and edit of channel/forum/posted group. Force display of correct stacked widget page in GxsGroupDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8215 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-05-03 16:42:58 +00:00
parent 7b5bfc99d3
commit 0f84059fe6

View File

@ -166,6 +166,7 @@ void GxsGroupDialog::initMode()
{
case MODE_CREATE:
{
ui.stackedWidget->setCurrentIndex(0);
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
newGroup();
}
@ -182,6 +183,7 @@ void GxsGroupDialog::initMode()
case MODE_EDIT:
{
ui.stackedWidget->setCurrentIndex(0);
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Submit Group Changes"));
requestGroup(mGrpMeta.mGroupId);