diff options
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 3 |
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); } |