mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
Fix focus loss on save when the widget is not visible anymore
This commit is contained in:
parent
53d06f127d
commit
99e42b1fce
1 changed files with 1 additions and 1 deletions
|
@ -2155,7 +2155,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…
Add table
Add a link
Reference in a new issue