diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs b/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs index bb2e5f9..c22e438 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs @@ -22,7 +22,7 @@ namespace Xamarin.PropertyEditing.Mac EditorView.ViewModel = value; - if (EditorView.NeedsPropertyButton) + if (PropertyButton != null) PropertyButton.ViewModel = value as PropertyViewModel; } } |