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/shopwindow.cpp | |
parent | ba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff) | |
download | plus-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/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index d9e182757..b173da568 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -370,7 +370,7 @@ void ShopWindow::action(const ActionEvent &event) { EditDialog *const dialog = new EditDialog( _("Please enter new shop name"), mSellShopName, "OK"); - dialog->postInit(); + dialog->postInit(); shopRenameListener.setDialog(dialog); dialog->addActionListener(&shopRenameListener); } @@ -812,6 +812,7 @@ void ShopWindow::showList(const std::string &nick, std::string data) { data = data.substr(2); buyDialog = new BuyDialog(nick); + buyDialog->postInit(); } else if (data.find("S1") == 0) { |