Skip to content

Commit

Permalink
Desktop: fixed Visual Studio design time viewer not loading the main …
Browse files Browse the repository at this point in the history
…window
  • Loading branch information
Jusas committed Jan 21, 2023
1 parent c03efc5 commit f740a54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ private void PopulateInitialData()

WindowTitle = $"Watney Astrometry Desktop ({v})";

var settingsManager = _serviceProvider.GetService<ISolveSettingsManager>();
settingsManager.LoadStoredGeneralSettings();
var settingsManager = _serviceProvider?.GetService<ISolveSettingsManager>();
settingsManager?.LoadStoredGeneralSettings();
}

protected override void OnViewCreated()
Expand Down

0 comments on commit f740a54

Please sign in to comment.