fixed segfault in forum show dialog

prob merge issue

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7085 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2014-02-02 23:17:07 +00:00
parent a4f0221d89
commit accdf7e982
2 changed files with 4 additions and 4 deletions

View File

@ -150,6 +150,7 @@ void GxsGroupDialog::initMode()
case MODE_CREATE:
{
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Create Forum"));
newGroup();
}
break;

View File

@ -72,17 +72,16 @@ void GxsForumGroupDialog::initUi()
switch (mode())
{
case MODE_CREATE:
setUiText(UITYPE_SERVICE_HEADER, tr("Create New Forum"));
setUiText(UITYPE_SERVICE_HEADER, tr("Create New Forum"));
break;
case MODE_SHOW:
setUiText(UITYPE_SERVICE_HEADER, tr("Forum"));
break;
case MODE_EDIT:
setUiText(UITYPE_SERVICE_HEADER, tr("Edit Forum"));
break;
}
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Forum"));
}
}
QPixmap GxsForumGroupDialog::serviceImage()