summaryrefslogtreecommitdiff
path: root/src/gui/editserverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editserverdialog.cpp')
-rw-r--r--src/gui/editserverdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editserverdialog.cpp b/src/gui/editserverdialog.cpp
index 41d0bf546..907a706b8 100644
--- a/src/gui/editserverdialog.cpp
+++ b/src/gui/editserverdialog.cpp
@@ -66,10 +66,10 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
Window(_("Edit Server"), true, parent),
gcn::ActionListener(),
gcn::KeyListener(),
- mServerAddressField(new TextField(std::string())),
- mPortField(new TextField(std::string())),
- mNameField(new TextField(std::string())),
- mDescriptionField(new TextField(std::string())),
+ mServerAddressField(new TextField(this, std::string())),
+ mPortField(new TextField(this, std::string())),
+ mNameField(new TextField(this, std::string())),
+ mDescriptionField(new TextField(this, std::string())),
mConnectButton(new Button(this, _("Connect"), "connect", this)),
mOkButton(new Button(this, _("OK"), "addServer", this)),
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),