Fixed adding wrong port number in builder

This commit is contained in:
MaxXor 2015-09-19 13:53:28 +02:00
parent efef5c0100
commit 05e485a485
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ namespace xServer.Forms
HasChanged();
var host = txtHost.Text;
ushort port = (ushort)numericUpDownDelay.Value;
ushort port = (ushort)numericUpDownPort.Value;
_hosts.Add(new Host {Hostname = host, Port = port});
txtHost.Text = "";