Skip to content

Commit

Permalink
Merge pull request #79 from 333fred/fix-autoreload
Browse files Browse the repository at this point in the history
Fix first open and default autoreload case
  • Loading branch information
Pilchie authored Jun 5, 2017
2 parents 5ed3579 + 6d4a249 commit 643d906
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xunit.runner.wpf/Persistence/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ public static Settings Load()

settings.autoReloadAssemblies = autoReloadAssemblies;
}
else
{
settings.autoReloadAssemblies = true;
}

return settings;
}
Expand Down
1 change: 1 addition & 0 deletions xunit.runner.wpf/ViewModel/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public MainViewModel()

RebuildRecentAssembliesMenu();
AutoReloadAssemblies = this.settings.GetAutoReloadAssemblies();
UpdateAutoReloadStatus();
}

private void RebuildRecentAssembliesMenu()
Expand Down

0 comments on commit 643d906

Please sign in to comment.