Skip to content

Commit

Permalink
username entry enter event focus to password entry
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Nov 26, 2024
1 parent e1e3c41 commit e461411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/module/gtkwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def __event_username_entry_clicked(self, widget=None):
" ", "") == "root")
if is_root:
return
if not lightdm.get_is_reset():
self.o("ui_entry_password").grab_focus()
self.__event_username_entry_changed(widget)

def __event_username_entry_changed(self, w=None):
Expand Down

0 comments on commit e461411

Please sign in to comment.