diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 01:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch) | |
tree | 8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/npcdialog.cpp | |
parent | 5d02ab43ff6d3e328a3b02479c033609023edec2 (diff) | |
download | manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2 manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip |
Add palette inheritance to textfield class.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r-- | src/gui/npcdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 6970babfb..ab05a3b49 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -73,8 +73,8 @@ NpcDialog::NpcDialog(const int npcId) : mListScrollArea(new ScrollArea(mItemList, getOptionBool("showlistbackground"), "npc_listbackground.xml")), mItemLinkHandler(new ItemLinkHandler), - mTextField(new TextField("")), - mIntField(new IntTextField), + mTextField(new TextField(this, "")), + mIntField(new IntTextField(this)), mPlusButton(new Button(this, _("+"), "inc", this)), mMinusButton(new Button(this, _("-"), "dec", this)), mClearButton(new Button(this, _("Clear"), "clear", this)), |