summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/SpinBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/SpinBox.h')
-rw-r--r--Libraries/LibGUI/SpinBox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibGUI/SpinBox.h b/Libraries/LibGUI/SpinBox.h
index 6f0fc900b7..c5d96b6285 100644
--- a/Libraries/LibGUI/SpinBox.h
+++ b/Libraries/LibGUI/SpinBox.h
@@ -44,6 +44,8 @@ public:
void set_max(int max) { set_range(min(), max); }
void set_range(int min, int max);
+ void set_enabled(bool);
+
Function<void(int value)> on_change;
protected: