mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
7b5bfc99d3
commit
0f84059fe6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user