Error in new result table caching code resulted in incorrect display

This commit is contained in:
Jean-Francois Dockes 2020-10-04 19:59:27 +02:00
parent 472251e688
commit f9ffb6ec60

View File

@ -391,6 +391,7 @@ QVariant RecollModel::data(const QModelIndex& index, int role) const
if (m_rowforcachedoc != index.row()) {
m_rowforcachedoc = index.row();
m_cachedoc = Rcl::Doc();
if (!m_source->getDoc(index.row(), m_cachedoc)) {
return QVariant();
}