diff options
Diffstat (limited to 'src/gui/widgets/inttextfield.cpp')
-rw-r--r-- | src/gui/widgets/inttextfield.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/inttextfield.cpp b/src/gui/widgets/inttextfield.cpp index d8612cc96..eb04a65aa 100644 --- a/src/gui/widgets/inttextfield.cpp +++ b/src/gui/widgets/inttextfield.cpp @@ -31,9 +31,10 @@ #include "debug.h" -IntTextField::IntTextField(const int def, const int min, const int max, +IntTextField::IntTextField(const Widget2 *const widget, const int def, + const int min, const int max, const bool enabled, const int width) : - TextField(toString(def)), + TextField(widget, toString(def)), mMin(0), mMax(0), mDefault(def), |