@@ -81,7 +81,7 @@ public partial class IPConfigDetailViewModel : ObservableRecipient, IEditableObj
8181 private bool _canShowUnchangedIndicator ;
8282
8383 [ ObservableProperty ]
84- [ NotifyPropertyChangedFor ( nameof ( IsEditingIPConfigModifield ) ) ]
84+ [ NotifyPropertyChangedFor ( nameof ( IsEditingIPConfigModified ) ) ]
8585 [ NotifyCanExecuteChangedFor ( nameof ( DiscardChangesCommand ) ) ]
8686 private EditableIPConfigModel _editingIPConfig = EditableIPConfigModel . Empty ;
8787
@@ -120,7 +120,7 @@ public partial class IPConfigDetailViewModel : ObservableRecipient, IEditableObj
120120
121121 public CollectionViewSource ? IPv4MaskListCvs { get ; }
122122
123- public bool IsEditingIPConfigModifield => IsInContrastView || EditingIPConfig . IsChanged ;
123+ public bool IsEditingIPConfigModified => IsInContrastView || EditingIPConfig . IsChanged ;
124124
125125 public bool IsNicIPConfig { get ; private set ; }
126126
@@ -401,7 +401,7 @@ private async Task ApplyAsync()
401401 } ) ;
402402 }
403403
404- [ RelayCommand ( CanExecute = nameof ( IsEditingIPConfigModifield ) ) ]
404+ [ RelayCommand ( CanExecute = nameof ( IsEditingIPConfigModified ) ) ]
405405 private void DiscardChanges ( bool ask = true )
406406 {
407407 if ( ask )
@@ -442,7 +442,7 @@ private void Loaded()
442442 _iPv4DnsList . AddRange ( iPv4DnsList ) ;
443443 }
444444
445- [ RelayCommand ( CanExecute = nameof ( IsEditingIPConfigModifield ) ) ]
445+ [ RelayCommand ( CanExecute = nameof ( IsEditingIPConfigModified ) ) ]
446446 private void RaiseContrastViewButtonMouseDown ( )
447447 {
448448 IsInContrastView = true ;
@@ -465,7 +465,7 @@ private void RaiseContrastViewButtonMouseLeave()
465465 CanShowChangedIndicator = false ;
466466 }
467467
468- [ RelayCommand ( CanExecute = nameof ( IsEditingIPConfigModifield ) ) ]
468+ [ RelayCommand ( CanExecute = nameof ( IsEditingIPConfigModified ) ) ]
469469 private void RaiseContrastViewButtonMouseUp ( )
470470 {
471471 IsInContrastView = false ;
@@ -638,7 +638,7 @@ private void EditingIPConfig_EditableChanged(object? sender, bool e)
638638
639639 private void EditingIPConfig_PropertyChanged ( object ? sender , PropertyChangedEventArgs e )
640640 {
641- OnPropertyChanged ( nameof ( IsEditingIPConfigModifield ) ) ;
641+ OnPropertyChanged ( nameof ( IsEditingIPConfigModified ) ) ;
642642 DiscardChangesCommand . NotifyCanExecuteChanged ( ) ;
643643
644644 if ( e . PropertyName == nameof ( IPConfigModel . Name ) )
0 commit comments