diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:02:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:02:19 +0300 |
commit | ea40cd4fa5e65698cbabb3649e2d5641f47df265 (patch) | |
tree | 71008ed2918993214b1044cbeb1f5dd1944b30d2 /src/gui/windows/editserverdialog.cpp | |
parent | 49ab9391a9d49580603858b1222dd39542111583 (diff) | |
download | plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.gz plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.bz2 plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.xz plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.zip |
Remove default parameters from inttextfield.
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 |