Skip to content

Commit

Permalink
Merge pull request #112 from dirkrombauts/master
Browse files Browse the repository at this point in the history
Avoid crash on start of GUI
  • Loading branch information
dirkrombauts committed May 28, 2014
2 parents 4663003 + b371871 commit 642f7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pickles/Pickles.UserInterface/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ private void MainWindowViewModel_PropertyChanged(object sender, PropertyChangedE

case "TestResultsFile":
{
if (this.testResultsFile.Split(';').All(trf => this.fileSystem.File.Exists(trf)))
if (this.testResultsFile == null || this.testResultsFile.Split(';').All(trf => this.fileSystem.File.Exists(trf)))
{
this.IsTestResultsFileValid = true;
}
Expand Down

0 comments on commit 642f7a1

Please sign in to comment.