summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index 83a33eb62..b1a2f0da5 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -97,7 +97,7 @@ class ListBox : public gcn::ListBox,
void setCenter(const bool b)
{ mCenterText = b; }
- int getPressedIndex()
+ int getPressedIndex() const
{ return mPressedIndex; }
unsigned int getRowHeight() const override A_WARN_UNUSED