diff options
author | Jonathan White <support@dmapps.us> | 2020-09-28 05:17:57 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-10-20 04:31:42 +0300 |
commit | 59b8b13146d0a244407c51eb3756cf9ff4eee34b (patch) | |
tree | 5c1423f00d9f6f4fc46c5a5be93a411657c3f209 /src | |
parent | b10a55a547af321ebe9365ca6ca3932ecd02099b (diff) |
Force set entry preview after search ends
* Fixes #5093
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/DatabaseWidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index 9a1bd0590..505e7f0ba 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -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); |