summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 18:37:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 18:37:06 +0300
commitc25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31 (patch)
treeac124c630bc17ef10a8885a49fbb387f7091d15d /src/gui/widgets/setupitem.cpp
parent88697bc3503090194877b241b987ddc751034166 (diff)
downloadplus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.tar.gz
plus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.tar.bz2
plus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.tar.xz
plus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.zip
Add strong typed bool type Enable.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp2
1 files changed, 1 insertions, 1 deletions
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);