diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-17 19:34:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-17 19:34:34 +0300 |
commit | 40ddc72b737a1040f5adab239f68e1fbc32c6a70 (patch) | |
tree | a9fa49c7eda5227b5dbb170f7be2586ff35f9943 /src/gui/widgets/setupitem.cpp | |
parent | e9fb9da5bf17d3402781eb5205be7d2f794887ee (diff) | |
download | mv-40ddc72b737a1040f5adab239f68e1fbc32c6a70.tar.gz mv-40ddc72b737a1040f5adab239f68e1fbc32c6a70.tar.bz2 mv-40ddc72b737a1040f5adab239f68e1fbc32c6a70.tar.xz mv-40ddc72b737a1040f5adab239f68e1fbc32c6a70.zip |
Add strong typed bool LoseFocusOnTab.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 511ab90ab..2926121af 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -365,7 +365,11 @@ void SetupItemTextField::createControls() mLabel = new Label(this, mText); mLabel->setToolTip(mDescription); - mTextField = new TextField(this, mValue, true, mParent, mEventName); + mTextField = new TextField(this, + mValue, + LoseFocusOnTab_true, + mParent, + mEventName); // TRANSLATORS: setup item button mButton = new Button(this, _("Edit"), mEventName + "_EDIT", mParent); mWidget = mTextField; |