Force set entry preview after search ends

* Fixes #5093
This commit is contained in:
Jonathan White 2020-09-27 22:17:57 -04:00
parent b10a55a547
commit 59b8b13146

View File

@ -1427,6 +1427,8 @@ void DatabaseWidget::endSearch()
m_entryView->displayGroup(currentGroup());
emit listModeActivated();
m_entryView->setFirstEntryActive();
// Enforce preview view update (prevents stale information if focus group is empty)
m_previewView->setEntry(currentSelectedEntry());
}
m_searchingLabel->setVisible(false);