summaryrefslogtreecommitdiff
path: root/src/gui/widgets/sliderlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/sliderlist.h')
-rw-r--r--src/gui/widgets/sliderlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/sliderlist.h b/src/gui/widgets/sliderlist.h
index a7b1a564c..b2239834d 100644
--- a/src/gui/widgets/sliderlist.h
+++ b/src/gui/widgets/sliderlist.h
@@ -63,6 +63,9 @@ class SliderList : public Container,
void adjustSize();
+ int getSelected()
+ { return mSelectedIndex; }
+
protected:
void updateLabel();