Skip to content

Commit

Permalink
Force set entry preview after search ends
Browse files Browse the repository at this point in the history
* Fixes #5093
  • Loading branch information
droidmonkey committed Oct 20, 2020
1 parent b10a55a commit 59b8b13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/DatabaseWidget.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 59b8b13

Please sign in to comment.