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/widgets/tabs/setup_input.cpp | |
parent | ba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff) | |
download | manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.gz manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.bz2 manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.xz manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.zip |
Call postInit after each window creation.
Diffstat (limited to 'src/gui/widgets/tabs/setup_input.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp index 4eb81bc4a..f1752d781 100644 --- a/src/gui/widgets/tabs/setup_input.cpp +++ b/src/gui/widgets/tabs/setup_input.cpp @@ -155,7 +155,7 @@ void Setup_Input::apply() const std::string str2 = keyToString(key2); // TRANSLATORS: input settings error header - new OkDialog(_("Key Conflict(s) Detected."), + (new OkDialog(_("Key Conflict(s) Detected."), // TRANSLATORS: input settings error strprintf(_("Conflict \"%s\" and \"%s\" keys. " "Resolve them, or gameplay may result in strange behaviour."), @@ -166,7 +166,7 @@ void Setup_Input::apply() Modal_true, ShowCenter_true, nullptr, - 260); + 260))->postInit(); } keyboard.setEnabled(true); inputManager.store(); |