Merge pull request !18 from 杨敏/openkylin/yangtze
This commit is contained in:
杨敏 2023-03-23 01:28:30 +00:00 committed by Gitee
commit 3950111b74
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -632,7 +632,7 @@ void AuthDialog::setFocusin(int target)
m_messageButton->setStyleSheet("QPushButton{background-color: rgba(255,255,255,15%); border-radius: 4px; border: 2px solid #2C73C8;}");
break;
default:
if(m_widgetLoginOpts)
if(m_passwordEdit)
m_passwordEdit->setFocusin(target);
m_widgetLoginOpts->tabOptionSelected(2);
break;

View File

@ -1862,7 +1862,7 @@ bool LockWidget::exitSubWidget()
allExited = false;
return allExited;
}
if(tabAt != LINEEDIT)
if(tabAt != LINEEDIT && tabAt != MESSAGEBTN && tabAt != ENTERBTN && tabAt != BIOBTN)
authDialog->setFocusin(REMOVE);
return allExited;
}