From c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 May 2015 18:37:06 +0300 Subject: Add strong typed bool type Enable. --- src/gui/widgets/setupitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/setupitem.cpp') diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 6cb807ab5..b02f2b9ba 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -496,7 +496,7 @@ void SetupItemIntTextField::createControls() mLabel = new Label(this, mText); mLabel->setToolTip(mDescription); mTextField = new IntTextField(this, atoi(mValue.c_str()), - mMin, mMax, true, 30); + mMin, mMax, Enable_true, 30); mTextField->setActionEventId(mEventName); mTextField->addActionListener(mParent); -- cgit v1.2.3-60-g2f50