summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/ComboBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/ComboBox.h')
-rw-r--r--Libraries/LibGUI/ComboBox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/ComboBox.h b/Libraries/LibGUI/ComboBox.h
index 0a82d17ff1..b9c3fe8e21 100644
--- a/Libraries/LibGUI/ComboBox.h
+++ b/Libraries/LibGUI/ComboBox.h
@@ -49,6 +49,7 @@ public:
const Model* model() const;
void set_model(NonnullRefPtr<Model>);
+ size_t selected_index() const;
void set_selected_index(size_t index);
bool only_allow_values_from_model() const { return m_only_allow_values_from_model; }