mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-29 02:51:45 -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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue