diff options
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r-- | src/gui/windows/editserverdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp index 692fe8287..3b454466f 100644 --- a/src/gui/windows/editserverdialog.cpp +++ b/src/gui/windows/editserverdialog.cpp @@ -52,7 +52,8 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent, mNameField(new TextField(this, std::string())), mDescriptionField(new TextField(this, std::string())), mOnlineListUrlField(new TextField(this, std::string())), - mPacketVersionField(new IntTextField(this, 0, 0, maxPacketVersion)), + mPacketVersionField(new IntTextField(this, 0, 0, maxPacketVersion, + Enable_true, 0)), // TRANSLATORS: edit server dialog button mConnectButton(new Button(this, _("Connect"), "connect", this)), // TRANSLATORS: edit server dialog button |