From 81145e509cdba68c94c4173e16ddd492cd813db8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Dec 2017 19:34:40 +0300 Subject: Remove default parameters from textfield. --- src/gui/windows/textcommandeditor.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/textcommandeditor.cpp') diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp index 62ffc36f8..1e6407a85 100644 --- a/src/gui/windows/textcommandeditor.cpp +++ b/src/gui/windows/textcommandeditor.cpp @@ -68,13 +68,16 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) : #endif // TMWA_SUPPORT // TRANSLATORS: command editor label mSymbolLabel(new Label(this, _("Symbol:"))), - mSymbolTextField(new TextField(this)), + mSymbolTextField(new TextField(this, std::string(), + LoseFocusOnTab_true, nullptr, std::string(), false)), // TRANSLATORS: command editor label mCommandLabel(new Label(this, _("Command:"))), - mCommandTextField(new TextField(this)), + mCommandTextField(new TextField(this, std::string(), + LoseFocusOnTab_true, nullptr, std::string(), false)), // TRANSLATORS: command editor label mCommentLabel(new Label(this, _("Comment:"))), - mCommentTextField(new TextField(this)), + mCommentTextField(new TextField(this, std::string(), + LoseFocusOnTab_true, nullptr, std::string(), false)), mTargetTypeModel(new TargetTypeModel), // TRANSLATORS: command editor label mTypeLabel(new Label(this, _("Target Type:"))), -- cgit v1.2.3-70-g09d2