Skip to content

Commit

Permalink
fix save project settings
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jan 30, 2025
1 parent 37a5bed commit 63e5af3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private async Task SaveAsync()
_root.SetProjectPropertyArray("Include", _includesSettings.Items.Select(item => item.ToString()).ToArray());
_root.SetProjectPropertyArray("Exclude", _excludesSettings.Items.Select(item => item.ToString()).ToArray());

if (_vhdlStandard.Value.ToString() != null)
if (_vhdlStandard?.Value.ToString() != null)
_root.SetProjectProperty("VHDL_Standard", _vhdlStandard.Value.ToString()!);

await _projectExplorerService.SaveProjectAsync(_root);
Expand Down

0 comments on commit 63e5af3

Please sign in to comment.