Skip to content

Commit

Permalink
Allow settings file to be write-protected
Browse files Browse the repository at this point in the history
  • Loading branch information
th-we committed Apr 25, 2018
1 parent 540c62a commit 1bbe2e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/StopWatch/Settings/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,13 @@ public void Save()

Properties.Settings.Default.CheckForUpdate = CheckForUpdate;

Properties.Settings.Default.Save();
try
{
Properties.Settings.Default.Save();
}
catch
{
}
}
}

Expand Down

0 comments on commit 1bbe2e7

Please sign in to comment.