From 79b4bbbe0ead006bec273c247eaa50c2fd585863 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 01:00:19 +0300 Subject: Add palette inheritance to checkbox class. --- src/gui/outfitwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/outfitwindow.cpp') 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()))), -- cgit v1.2.3-70-g09d2