diff --git a/Netch/Forms/SettingForm.cs b/Netch/Forms/SettingForm.cs index 91fd7174..4c4213c8 100644 --- a/Netch/Forms/SettingForm.cs +++ b/Netch/Forms/SettingForm.cs @@ -148,7 +148,7 @@ namespace Netch.Forms BindCheckBox(UseCustomDNSCheckBox, b => { Global.Settings.TUNTAP.UseCustomDNS = b; }, Global.Settings.TUNTAP.UseCustomDNS); BindTextBox(TUNTAPDNSTextBox, - s => !UseCustomDNSCheckBox.Checked || s.IsNullOrWhiteSpace(), + _ => true, s => { if (UseCustomDNSCheckBox.Checked)