Skip to content

Commit

Permalink
Focus webview when page is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
guyonvarch committed Feb 28, 2024
1 parent 28381e1 commit bc87ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kiosk/kiosk_browser/browser_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def _view(self, status):
self._loading_page.hide()
self._network_error_page.hide()
self._webview.show()
self._webview.setFocus()

def user_agent_with_system(user_agent, system_name, system_version):
"""Inject a specific system into a user agent string"""
Expand Down

0 comments on commit bc87ab4

Please sign in to comment.