Skip to content

Commit

Permalink
actual FModel 3.1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
4sval committed Sep 10, 2020
1 parent 6c66243 commit 545847d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions FModel/Utils/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ private static void CheckForUpdateEvent(UpdateInfoEventArgs args)

if (dialogResult == MessageBoxResult.Yes)
Process.Start(new ProcessStartInfo { FileName = args.ChangelogURL, UseShellExecute = true });
if (dialogResult == MessageBoxResult.Cancel)
{
Properties.Settings.Default.SkipVersion = true;
Properties.Settings.Default.Save();
}
// what i forgot: checking installed version to compare with saved version to skip
//if (dialogResult == MessageBoxResult.Cancel)
//{
// Properties.Settings.Default.SkipVersion = true;
// Properties.Settings.Default.Save();
//}

if (dialogResult == MessageBoxResult.Yes || dialogResult == MessageBoxResult.OK)
{
Expand Down

0 comments on commit 545847d

Please sign in to comment.