mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
parent
32f38cc6ed
commit
9521f63b3a
@ -582,11 +582,17 @@ void DatabaseOpenWidget::toggleQuickUnlockScreen()
|
||||
{
|
||||
if (canPerformQuickUnlock()) {
|
||||
m_ui->centralStack->setCurrentIndex(1);
|
||||
// Work around qt issue where focus is stolen even if not visible
|
||||
if (m_ui->quickUnlockButton->isVisible()) {
|
||||
m_ui->quickUnlockButton->setFocus();
|
||||
}
|
||||
} else {
|
||||
m_ui->centralStack->setCurrentIndex(0);
|
||||
// Work around qt issue where focus is stolen even if not visible
|
||||
if (m_ui->editPassword->isVisible()) {
|
||||
m_ui->editPassword->setFocus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void DatabaseOpenWidget::triggerQuickUnlock()
|
||||
|
Loading…
Reference in New Issue
Block a user