mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
a4f0221d89
commit
accdf7e982
@ -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;
|
||||
|
@ -76,13 +76,12 @@ void GxsForumGroupDialog::initUi()
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user