summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:53:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit4f20c92940b9cbb8e87d0765860a81eb3f7d2733 (patch)
tree94bb2372a80b65e39751ddac3bcfb861beb837af /src/gui/itempopup.cpp
parent015b14f8e60d64da2999da9c753af62ec1ffdf72 (diff)
downloadmanaplus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.gz
manaplus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.bz2
manaplus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.xz
manaplus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.zip
Add palette inheritance to textbox class.
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r--src/gui/itempopup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp
index 2b7ddff9c..bf861f9d5 100644
--- a/src/gui/itempopup.cpp
+++ b/src/gui/itempopup.cpp
@@ -48,9 +48,9 @@
ItemPopup::ItemPopup() :
Popup("ItemPopup", "itempopup.xml"),
mItemName(new Label(this)),
- mItemDesc(new TextBox),
- mItemEffect(new TextBox),
- mItemWeight(new TextBox),
+ mItemDesc(new TextBox(this)),
+ mItemEffect(new TextBox(this)),
+ mItemWeight(new TextBox(this)),
mIcon(new Icon(this, nullptr)),
mLastName(""),
mLastColor(1)