diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:34:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:34:40 +0300 |
commit | 81145e509cdba68c94c4173e16ddd492cd813db8 (patch) | |
tree | 3603449bfdd5e2d357b240cdaa5cead9b4077a1f /src/gui/windows/textcommandeditor.cpp | |
parent | 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff) | |
download | plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2 plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz plus-81145e509cdba68c94c4173e16ddd492cd813db8.zip |
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r-- | src/gui/windows/textcommandeditor.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
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:"))), |