summaryrefslogtreecommitdiff
path: root/src/gui/widgets/inttextfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 19:34:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 19:34:40 +0300
commit81145e509cdba68c94c4173e16ddd492cd813db8 (patch)
tree3603449bfdd5e2d357b240cdaa5cead9b4077a1f /src/gui/widgets/inttextfield.cpp
parent5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff)
downloadmv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz
mv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2
mv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz
mv-81145e509cdba68c94c4173e16ddd492cd813db8.zip
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/widgets/inttextfield.cpp')
-rw-r--r--src/gui/widgets/inttextfield.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/inttextfield.cpp b/src/gui/widgets/inttextfield.cpp
index 41436d310..d67520c2b 100644
--- a/src/gui/widgets/inttextfield.cpp
+++ b/src/gui/widgets/inttextfield.cpp
@@ -38,7 +38,8 @@ IntTextField::IntTextField(const Widget2 *const widget,
const int max,
const Enable enabled,
const int width) :
- TextField(widget, toString(def)),
+ TextField(widget, toString(def),
+ LoseFocusOnTab_true, nullptr, std::string(), false),
mMin(0),
mMax(0),
mDefault(def),