summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:00:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit79b4bbbe0ead006bec273c247eaa50c2fd585863 (patch)
tree4e4515e5623b74ae3de48fd6f5dac2b7c2a493d5 /src/gui/outfitwindow.cpp
parent41adf71a823f475b7f12b00e06056b778311da84 (diff)
downloadmanaplus-79b4bbbe0ead006bec273c247eaa50c2fd585863.tar.gz
manaplus-79b4bbbe0ead006bec273c247eaa50c2fd585863.tar.bz2
manaplus-79b4bbbe0ead006bec273c247eaa50c2fd585863.tar.xz
manaplus-79b4bbbe0ead006bec273c247eaa50c2fd585863.zip
Add palette inheritance to checkbox class.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r--src/gui/outfitwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index dfc7dbd94..9f9c05565 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -62,9 +62,9 @@ OutfitWindow::OutfitWindow():
mNextButton(new Button(this, _(">"), "next", this)),
mEquipButtom(new Button(this, _("Equip"), "equip", this)),
mCurrentLabel(new Label(strprintf(_("Outfit: %d"), 1))),
- mUnequipCheck(new CheckBox(_("Unequip first"),
+ mUnequipCheck(new CheckBox(this, _("Unequip first"),
serverConfig.getValueBool("OutfitUnequip0", true))),
- mAwayOutfitCheck(new CheckBox(_("Away outfit"),
+ mAwayOutfitCheck(new CheckBox(this, _("Away outfit"),
serverConfig.getValue("OutfitAwayIndex", OUTFITS_COUNT - 1))),
mKeyLabel(new Label(strprintf(_("Key: %s"),
keyName(mCurrentOutfit).c_str()))),