diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj index 27733e90..28ebe273 100644 --- a/ENI2/ENI2.csproj +++ b/ENI2/ENI2.csproj @@ -37,7 +37,7 @@ true publish.html 0 - 6.7.2.0 + 6.7.3.0 false true true diff --git a/ENI2/EditControls/SelectImportClassesDialog.xaml.cs b/ENI2/EditControls/SelectImportClassesDialog.xaml.cs index 2ec68e29..c27833a1 100644 --- a/ENI2/EditControls/SelectImportClassesDialog.xaml.cs +++ b/ENI2/EditControls/SelectImportClassesDialog.xaml.cs @@ -26,8 +26,8 @@ namespace ENI2.EditControls /// public partial class SelectImportClassesDialog : ENI2.Controls.EditWindowBase { - private List _selectClasses = new List(); - private List _selectedClasses = new List(); + private readonly List _selectClasses = new List(); + private readonly List _selectedClasses = new List(); public SelectImportClassesDialog() { @@ -48,6 +48,7 @@ namespace ENI2.EditControls foreach(bsmd.database.Message.NotificationClass notificationClass in Enum.GetValues(typeof(bsmd.database.Message.NotificationClass))) { if ((notificationClass == Message.NotificationClass.VISIT) || + (notificationClass == Message.NotificationClass.TRANSIT) || (notificationClass == Message.NotificationClass.ATA) || (notificationClass == Message.NotificationClass.ATD) || (notificationClass == Message.NotificationClass.CREWD) || @@ -107,10 +108,7 @@ namespace ENI2.EditControls public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(string propertyName) { - if(PropertyChanged != null) - { - PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } public int CompareTo(object obj)