From bbe042997cb841383fd0b9f7ead724275501b3f2 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 4 Jul 2020 18:14:35 +0530 Subject: [PATCH] MainApplicationContext: removed SaveConfig() since by default the app runs with low priviledge and cannot save config file. --- DnsServerSystemTrayApp/MainApplicationContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerSystemTrayApp/MainApplicationContext.cs b/DnsServerSystemTrayApp/MainApplicationContext.cs index 2a841423..8b3c47f1 100644 --- a/DnsServerSystemTrayApp/MainApplicationContext.cs +++ b/DnsServerSystemTrayApp/MainApplicationContext.cs @@ -263,7 +263,7 @@ namespace DnsServerSystemTrayApp { _dnsProviders.Clear(); _dnsProviders.AddRange(DnsProvider.GetDefaultProviders()); - SaveConfig(); + _dnsProviders.Sort(); } catch (Exception ex) {