diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-21 22:00:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-21 22:00:30 +0300 |
commit | 76dc498cd50fb5bc83b3d0a165df17781af35979 (patch) | |
tree | 6513853d484fa36e282afc2865e8e98f69100aeb /src/gui/windows/socialwindow.cpp | |
parent | ba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff) | |
download | mv-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.gz mv-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.bz2 mv-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.xz mv-76dc498cd50fb5bc83b3d0a165df17781af35979.zip |
Call postInit after each window creation.
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 4 |
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; } |