diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-02-06 23:54:30 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-03-06 21:49:07 +0300 |
commit | f8d6e23327f790b46531c696e6666e8dc2d2346a (patch) | |
tree | 06461d94ffc2cb4e8473cff488dd4f6082d2f25d /Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs | |
parent | 2eda0b68da408715ec7241b266e2f003d483e8ff (diff) |
[mac] Remove last error handling
This all needs to move to the EditorContainer left view
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs index c049c42..8290d2d 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs @@ -71,21 +71,6 @@ namespace Xamarin.PropertyEditing.Mac } } - protected override void UpdateErrorsDisplayed (IEnumerable errors) - { - if (ViewModel.HasErrors) { - SetErrors (errors); - } else { - SetErrors (null); - SetEnabled (); - } - } - - protected override void HandleErrorsChanged (object sender, System.ComponentModel.DataErrorsChangedEventArgs e) - { - UpdateErrorsDisplayed (ViewModel.GetErrors (ViewModel.Property.Name)); - } - protected override void SetEnabled () { NumericEditor.Enabled = CanEnable; |