summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-21 22:00:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-21 22:00:30 +0300
commit76dc498cd50fb5bc83b3d0a165df17781af35979 (patch)
tree6513853d484fa36e282afc2865e8e98f69100aeb /src/gui/windows/socialwindow.cpp
parentba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff)
downloadplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.gz
plus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.bz2
plus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.xz
plus-76dc498cd50fb5bc83b3d0a165df17781af35979.zip
Call postInit after each window creation.
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;
}