summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-26 23:20:22 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-26 23:29:30 +0200
commitc13e385f3676561f72d899f9fc7854f895afe71d (patch)
tree74f0e6339558cc757785d4e421954d273d33ddd3 /src/gui
parent14c7543bdfc979476c7f0664c82b790cdd12c43c (diff)
downloadmana-c13e385f3676561f72d899f9fc7854f895afe71d.tar.gz
mana-c13e385f3676561f72d899f9fc7854f895afe71d.tar.bz2
mana-c13e385f3676561f72d899f9fc7854f895afe71d.tar.xz
mana-c13e385f3676561f72d899f9fc7854f895afe71d.zip
Fixed height of item popup that shows no item
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/itempopup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp
index 116d29d4..193fec23 100644
--- a/src/gui/itempopup.cpp
+++ b/src/gui/itempopup.cpp
@@ -147,7 +147,7 @@ void ItemPopup::setNoItem()
mItemDesc->setText(std::string());
mItemEffect->setText(std::string());
- setContentSize(mItemName->getWidth(), 0);
+ setContentSize(mItemName->getWidth(), mItemName->getHeight());
}
void ItemPopup::setItem(const ItemInfo &item, bool showImage)