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: case MODE_CREATE:
{ {
ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Create Forum"));
newGroup(); newGroup();
} }
break; break;

View File

@ -76,13 +76,12 @@ void GxsForumGroupDialog::initUi()
break; break;
case MODE_SHOW: case MODE_SHOW:
setUiText(UITYPE_SERVICE_HEADER, tr("Forum")); setUiText(UITYPE_SERVICE_HEADER, tr("Forum"));
break; break;
case MODE_EDIT: case MODE_EDIT:
setUiText(UITYPE_SERVICE_HEADER, tr("Edit Forum")); setUiText(UITYPE_SERVICE_HEADER, tr("Edit Forum"));
break; break;
} }
setUiText(UITYPE_BUTTONBOX_OK, tr("Create Forum"));
} }
QPixmap GxsForumGroupDialog::serviceImage() QPixmap GxsForumGroupDialog::serviceImage()