mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 05:57:37 +03:00
Update Group in Preview Widget when focused
* Fixes #3129 * Also fix out of bounds access when no entries are present in EntryView and up/down arrow pressed
This commit is contained in:
parent
91283e7c76
commit
96b0ea45dd
4 changed files with 21 additions and 10 deletions
|
@ -787,6 +787,9 @@ void DatabaseWidget::switchToMainView(bool previousDialogAccepted)
|
|||
}
|
||||
|
||||
m_newParent = nullptr;
|
||||
} else {
|
||||
// Workaround: ensure entries are focused so search doesn't reset
|
||||
m_entryView->setFocus();
|
||||
}
|
||||
|
||||
setCurrentWidget(m_mainWidget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue