Skip to content

Commit

Permalink
fix: auth faild cannot set focus again
Browse files Browse the repository at this point in the history
taskID=5569
  • Loading branch information
justforlxz committed Jun 4, 2019
1 parent c5448e0 commit 4301d67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AuthDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ void AuthDialog::authenticationFailure()
m_passwordInput->clear();
m_passwordInput->setFocus();

m_tooltip->setMessage(tr("Wrong password"));
showErrorTip();
setError(tr("Wrong password"));

activateWindow();
}

void AuthDialog::setupUI()
Expand Down

0 comments on commit 4301d67

Please sign in to comment.