From 4f20c92940b9cbb8e87d0765860a81eb3f7d2733 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:53:30 +0300 Subject: Add palette inheritance to textbox class. --- src/gui/itempopup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/itempopup.cpp') 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) -- cgit v1.2.3-60-g2f50