summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r--src/gui/itempopup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp
index de8378d5..d65764a5 100644
--- a/src/gui/itempopup.cpp
+++ b/src/gui/itempopup.cpp
@@ -145,6 +145,9 @@ void ItemPopup::setNoItem()
mItemName->setForegroundColor(Theme::getThemeColor(Theme::GENERIC));
mItemName->setPosition(getPadding(), getPadding());
+ mItemDesc->setText(std::string());
+ mItemEffect->setText(std::string());
+
setContentSize(mItemName->getWidth() + 2 * getPadding(), 0);
}