diff --git a/OmsiExtensionsUI/ViewModels/MainWindowViewModel.cs b/OmsiExtensionsUI/ViewModels/MainWindowViewModel.cs index 4735a9f..7ce0e5f 100644 --- a/OmsiExtensionsUI/ViewModels/MainWindowViewModel.cs +++ b/OmsiExtensionsUI/ViewModels/MainWindowViewModel.cs @@ -16,7 +16,10 @@ public class MainWindowViewModel : ViewModelBase private Models.OmsiModel omsiModel; +#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + // Disabled warning given they are set in CreateCommands() and UpdateData(). public MainWindowViewModel() +#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. { CreateCommands(); }