summaryrefslogtreecommitdiff
path: root/src/gui/windows/editdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/editdialog.cpp')
-rw-r--r--src/gui/windows/editdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp
index e14b96191..491e23b5f 100644
--- a/src/gui/windows/editdialog.cpp
+++ b/src/gui/windows/editdialog.cpp
@@ -38,7 +38,8 @@ EditDialog::EditDialog(const std::string &restrict title,
Window(title, modal, parent, "edit.xml"),
ActionListener(),
mEventOk(eventOk),
- mTextField(new TextField(this))
+ mTextField(new TextField(this, std::string(), LoseFocusOnTab_true,
+ nullptr, std::string(), false))
{
mDefaultWidth = width;
mTextField->setText(msg);