Browse Source

Fix for appropriate logic of the original design

tags/4.1.5
Damir Ainullin 6 years ago
parent
commit
7a6230f53d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/View/ProxyForm.cs

+ 2
- 2
shadowsocks-csharp/View/ProxyForm.cs View File

@@ -59,8 +59,8 @@ namespace Shadowsocks.View
private void OKButton_Click(object sender, EventArgs e)
{
if (_modifiedProxyConfig.useProxy == UseProxyCheckBox.Checked)
_modifiedProxyConfig.useProxy = UseProxyCheckBox.Checked;
if (_modifiedProxyConfig.useProxy)
{
if (!int.TryParse(ProxyPortTextBox.Text, out _modifiedProxyConfig.proxyPort))
{


Loading…
Cancel
Save