Skip to content

Commit

Permalink
fix: grab focus in login dialog on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsbarnard committed Dec 21, 2023
1 parent 946779f commit 0995775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars_gridview/scripts/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def _get_login(self) -> Optional[Tuple[str, str, str]]:
Prompt a login dialog and return the username, password, and Raziel URL. If failed, returns None.
"""
login_dialog = LoginDialog(parent=self)
login_dialog._login_form._username_line_edit.setFocus()
ok = login_dialog.exec()

if not ok:
Expand Down

0 comments on commit 0995775

Please sign in to comment.