mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-27 09:21:21 +01:00
Correct which view should become the first responder. Issue #1014
This commit is contained in:
parent
1b7a46e505
commit
57542592cb
@ -68,10 +68,10 @@ final class DetailViewController: NSViewController, WKUIDelegate {
|
||||
|
||||
func focus() {
|
||||
|
||||
guard let window = currentWebViewController.view.window else {
|
||||
guard let window = currentWebViewController.webView.window else {
|
||||
return
|
||||
}
|
||||
window.makeFirstResponderUnlessDescendantIsFirstResponder(currentWebViewController.view)
|
||||
window.makeFirstResponderUnlessDescendantIsFirstResponder(currentWebViewController.webView)
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user