summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.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/windows/textcommandeditor.cpp
parent5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff)
downloadManaVerse-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz
ManaVerse-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2
ManaVerse-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz
ManaVerse-81145e509cdba68c94c4173e16ddd492cd813db8.zip
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp9
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:"))),