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/net/tmwa/charserverhandler.cpp | |
parent | ba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff) | |
download | manaverse-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.gz manaverse-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.bz2 manaverse-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.xz manaverse-76dc498cd50fb5bc83b3d0a165df17781af35979.zip |
Call postInit after each window creation.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index b33e0e4e2..970d6a9c6 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -518,14 +518,14 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg) unlockCharSelectDialog(); msg.readUInt8("error"); // TRANSLATORS: error message - new OkDialog(_("Error"), _("Failed to delete character."), + (new OkDialog(_("Error"), _("Failed to delete character."), // TRANSLATORS: ok dialog button _("OK"), DialogType::ERROR, Modal_true, ShowCenter_true, nullptr, - 260); + 260))->postInit(); BLOCK_END("CharServerHandler::processCharDeleteFailed") } |