Permalink
Browse files

Fixed bug that caused ILSpy to needlessly save the settings on startup.

  • Loading branch information...
1 parent 11520fd commit 2e9f50c437f80f6da3635f9008a7fdf53f60b0e7 @dgrunwald dgrunwald committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ILSpy/AboutPage.cs
View
@@ -221,7 +221,7 @@ public UpdateSettings(ILSpySettings spySettings)
XElement s = spySettings["UpdateSettings"];
this.automaticUpdateCheckEnabled = (bool?)s.Element("AutomaticUpdateCheckEnabled") ?? true;
try {
- this.LastSuccessfulUpdateCheck = (DateTime?)s.Element("LastSuccessfulUpdateCheck");
+ this.lastSuccessfulUpdateCheck = (DateTime?)s.Element("LastSuccessfulUpdateCheck");
} catch (FormatException) {
// avoid crashing on settings files invalid due to
// https://github.com/icsharpcode/ILSpy/issues/closed/#issue/2

0 comments on commit 2e9f50c

Please sign in to comment.