Skip to content

Commit

Permalink
login btn needs autodefault and focus
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer authored and joernu76 committed Aug 27, 2023
1 parent 573ebda commit 949a704
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mslib/msui/mscolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ def add_mscolab_urls(self):

def enable_login_btn(self):
self.loginBtn.setEnabled(self.loginEmailLe.text() != "" and self.loginPasswordLe.text() != "")
self.loginBtn.setAutoDefault(True)
self.loginBtn.setFocus()

def connect_handler(self):
try:
Expand Down

0 comments on commit 949a704

Please sign in to comment.