summaryrefslogtreecommitdiff
path: root/src/gui/editserverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commitf5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch)
tree8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/editserverdialog.cpp
parent5d02ab43ff6d3e328a3b02479c033609023edec2 (diff)
downloadmv-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz
mv-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2
mv-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz
mv-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip
Add palette inheritance to textfield class.
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)),