summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r--src/gui/windows/socialwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 4a32e75a9..83935ed49 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -502,7 +502,7 @@ void SocialWindow::showPartyCreate()
if (localPlayer->getParty())
{
// TRANSLATORS: party creation message
- new OkDialog(_("Create Party"),
+ (new OkDialog(_("Create Party"),
_("Cannot create party. You are already in a party"),
// TRANSLATORS: ok dialog button
_("OK"),
@@ -510,7 +510,7 @@ void SocialWindow::showPartyCreate()
Modal_true,
ShowCenter_true,
this,
- 260);
+ 260))->postInit();
return;
}