Revision 8a84d039 trunk/Pithos.Client.WPF/App.xaml.cs

b/trunk/Pithos.Client.WPF/App.xaml.cs
32 32
            AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
33 33
            TaskScheduler.UnobservedTaskException += OnUnobservedException;
34 34

  
35
            //Fix incorrect proxy settings by switching to default proxy, if the proxy server settings is empty
36
            if (Settings.Default.UseManualProxy && String.IsNullOrWhiteSpace(Settings.Default.ProxyServer))
37
            {
38
                Settings.Default.UseManualProxy = false;
39
                Settings.Default.UseDefaultProxy = true;
40
            }
41

  
35 42
            InitializeComponent();            
36 43
        }
37 44

  

Also available in: Unified diff