From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/widgets/sliderlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/sliderlist.cpp') diff --git a/src/gui/widgets/sliderlist.cpp b/src/gui/widgets/sliderlist.cpp index fb94155c1..0df055d7f 100644 --- a/src/gui/widgets/sliderlist.cpp +++ b/src/gui/widgets/sliderlist.cpp @@ -46,7 +46,7 @@ SliderList::SliderList(const Widget2 *const widget, Container(widget), gcn::ActionListener(), gcn::MouseListener(), - mLabel(new Label), + mLabel(new Label(this)), mListModel(listModel), mOldWidth(0), mSelectedIndex(0) -- cgit v1.2.3-70-g09d2