summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GComboBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/GComboBox.h')
-rw-r--r--Libraries/LibGUI/GComboBox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GComboBox.h b/Libraries/LibGUI/GComboBox.h
index 017e538107..b243b0b8c9 100644
--- a/Libraries/LibGUI/GComboBox.h
+++ b/Libraries/LibGUI/GComboBox.h
@@ -26,6 +26,9 @@ public:
bool only_allow_values_from_model() const { return m_only_allow_values_from_model; }
void set_only_allow_values_from_model(bool);
+ int model_column() const { return m_list_view->model_column(); }
+ void set_model_column(int column) { m_list_view->set_model_column(column); }
+
Function<void(const String&)> on_change;
Function<void()> on_return_pressed;