Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
First pass to fix solution pad not regaining focus on shortcut press.
Browse files Browse the repository at this point in the history
  • Loading branch information
avodovnik committed Nov 5, 2019
1 parent 3f67c1f commit 7e01fd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected override bool OnFocusOutEvent (Gdk.EventFocus evnt)
try {
if (view?.Window?.FirstResponder is NSView firstResponder &&
view?.AncestorSharedWithView (firstResponder) == view)
firstResponder.Window?.MakeFirstResponder (null);
firstResponder.Window?.MakeFirstResponder (firstResponder.Window.ContentView);
return base.OnFocusOutEvent (evnt);
} finally {
LogExit ();
Expand Down

0 comments on commit 7e01fd0

Please sign in to comment.