From 812fab6322f483623f29861c4248d1242dc39ff9 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Tue, 27 Oct 2020 18:42:41 +0800 Subject: [PATCH] fix: ModifiedDNS Setting init Enabled state --- Netch/Forms/SettingForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Netch/Forms/SettingForm.cs b/Netch/Forms/SettingForm.cs index 4ac9d412..24dedfbc 100644 --- a/Netch/Forms/SettingForm.cs +++ b/Netch/Forms/SettingForm.cs @@ -90,6 +90,8 @@ namespace Netch.Forms b => Global.Settings.ModifySystemDNS = b, Global.Settings.ModifySystemDNS); + ModifySystemDNSCheckBox_CheckedChanged(null, null); + BindTextBox(ModifiedDNSTextBox, s => DNS.TrySplit(s, out _, 2), s => Global.Settings.ModifiedDNS = s,