diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 15:42:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff (patch) | |
tree | 05f4b7dd27d335d3d547f40dfbeded25bda1011e /src/gui/windows/itemamountwindow.cpp | |
parent | 7559ba2bf6cec8cfabae572436d80f55dacc9371 (diff) | |
download | manaplus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.gz manaplus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.bz2 manaplus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.xz manaplus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.zip |
move virtual member calls from itempopup constuctor into postInit.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 0c0f0bfe2..6fd813183 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -155,6 +155,8 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent, mPrice(0), mEnabledKeyboard(keyboard.isEnabled()) { + mItemPopup->postInit(); + if (!mItem) return; |