Skip to content

Commit

Permalink
Fix focus issues in qt.py example (#404).
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomczak committed Jan 22, 2020
1 parent 99fb58a commit a314559
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,11 @@ def __init__(self, cef_widget):
self.cef_widget = cef_widget

def OnSetFocus(self, **_):
pass
print("[qt.py] FocusHandler.OnSetFocus")
if LINUX:
return False
else:
return True

def OnGotFocus(self, browser, **_):
# Temporary fix no. 1 for focus issues on Linux (Issue #284)
Expand Down

0 comments on commit a314559

Please sign in to comment.