Jumar Macato
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/AvnView.mm
|
|
|
@ -311,7 +311,8 @@ |
|
|
|
if(parent != nullptr){ |
|
|
|
auto parentWindow = parent->Window; |
|
|
|
|
|
|
|
[parentWindow makeFirstResponder:parent->View]; |
|
|
|
if(parentWindow != nullptr) |
|
|
|
[parentWindow makeFirstResponder:parent->View]; |
|
|
|
} |
|
|
|
} else{ |
|
|
|
[self becomeFirstResponder]; |
|
|
|
|