diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/minimap.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 4be320617..bc803d0d3 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -130,6 +130,8 @@ InventoryWindow::InventoryWindow(Inventory *const inventory): mSplit(false), mCompactMode(false) { + mTextPopup->postInit(); + if (inventory) { setCaption(gettext(inventory->getName().c_str())); diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index a02e02f5d..d268addf6 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -58,6 +58,8 @@ Minimap::Minimap() : mCustomMapImage(false), mAutoResize(config.getBoolValue("autoresizeminimaps")) { + mTextPopup->postInit(); + setWindowName("Minimap"); mShow = config.getValueBool(getWindowName() + "Show", true); diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index fe56a1f59..cc666f614 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -91,7 +91,9 @@ MiniStatusWindow::MiniStatusWindow() : mTextPopup(new TextPopup), mStatusPopup(new StatusPopup) { + mTextPopup->postInit(); mStatusPopup->postInit(); + listen(CHANNEL_ATTRIBUTES); StatusWindow::updateHPBar(mHpBar); diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index e379ea425..74fb4faf5 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -70,6 +70,8 @@ class SkillListBox final : public ListBox mRowHeight(getFont()->getHeight() * 2 + mSpacing + 2 * mPadding), mSkillClicked(false) { + mPopup->postInit(); + if (mRowHeight < 34) mRowHeight = 34; } |