diff options
author | CartBlanche <savagesoftware@gmail.com> | 2019-07-10 19:33:17 +0300 |
---|---|---|
committer | CartBlanche <savagesoftware@gmail.com> | 2019-07-31 14:31:17 +0300 |
commit | d078ccbbdcd671c4d8eeae877a823eda5d43dd15 (patch) | |
tree | 2a4f30865177d5b64bf1e9230903994eb563be82 /Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | |
parent | ca208821737368fca17fec185ed66de57b4ad40e (diff) |
[Mac] Fix so that when menu is popped up, associated controlled is focused.
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs index 19b4750..af1be83 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs @@ -19,6 +19,7 @@ namespace Xamarin.PropertyEditing.Mac if (!Popover.Shown) { Popover.Show (new CGRect (26, this.Frame.Height / 2 - 2, 2, 2), this, NSRectEdge.MinYEdge); + Window.MakeFirstResponder (this); Window.MakeFirstResponder (Popover); } } |