diff options
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r-- | src/gui/widgets/textfield.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index f0df5eb57..1c054f04b 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -57,12 +57,11 @@ TextField::TextField(const std::string &text, bool loseFocusOnTab, mNumeric(false), mMinimum(0), mMaximum(0), + mLoseFocusOnTab(loseFocusOnTab), mLastEventPaste(false) { setFrameSize(2); - mLoseFocusOnTab = loseFocusOnTab; - setForegroundColor(Theme::getThemeColor(Theme::TEXT)); if (instances == 0) |