mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix focus loss on save when the widget is not visible anymore
This commit is contained in:
parent
ce01f6d7cd
commit
f77975a9f7
@ -2189,7 +2189,7 @@ bool DatabaseWidget::performSave(QString& errorMessage, const QString& fileName)
|
||||
m_groupView->setDisabled(false);
|
||||
m_tagView->setDisabled(false);
|
||||
|
||||
if (focusWidget) {
|
||||
if (focusWidget && focusWidget->isVisible()) {
|
||||
focusWidget->setFocus();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user