Fixes port selector not saving in Control Panel

This commit is contained in:
Jordan Brown
2017-11-01 18:14:57 -04:00
committed by GitHub
parent 7791c49585
commit 08a31380c8
+1
View File
@@ -35,6 +35,7 @@ namespace TGControlPanel
{
var Config = Properties.Settings.Default;
Config.RemoteIP = IPTextBox.Text;
Config.RemotePort = (ushort)PortSelector.Value;
Config.RemoteUsername = UsernameTextBox.Text;
if (SavePasswordCheckBox.Checked)
{