From 41adf71a823f475b7f12b00e06056b778311da84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 00:52:01 +0300 Subject: Add palette inheritance to button class. --- src/gui/skilldialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/skilldialog.cpp') diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index da608b56a..c50ed8761 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -234,8 +234,8 @@ SkillDialog::SkillDialog() : gcn::ActionListener(), mTabs(new TabbedArea(this)), mPointsLabel(new Label("0")), - mUseButton(new Button(_("Use"), "use", this)), - mIncreaseButton(new Button(_("Up"), "inc", this)), + mUseButton(new Button(this, _("Use"), "use", this)), + mIncreaseButton(new Button(this, _("Up"), "inc", this)), mDefaultModel(nullptr) { setWindowName("Skills"); -- cgit v1.2.3-70-g09d2