summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/equipmentwindow.cpp1
-rw-r--r--src/gui/windows/itemamountwindow.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 9b4082f7f..688fb814a 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -86,6 +86,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment,
mMaxX(0),
mMaxY(0)
{
+ mItemPopup->postInit();
if (setupWindow)
setupWindow->registerWindowForReset(this);
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;