mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-21 02:51:26 -04:00
Fixed download progress update for the first row
This commit is contained in:
parent
b53042edd5
commit
087881d510
@ -272,8 +272,7 @@ void ContentManagerModel::updateDownload(QString bookId)
|
||||
|
||||
if ( it != bookIdToRowMap.constEnd() ) {
|
||||
const size_t row = it.value();
|
||||
const QModelIndex rootNodeIndex = this->index(0, 0);
|
||||
const QModelIndex newIndex = this->index(row, 5, rootNodeIndex);
|
||||
const QModelIndex newIndex = this->index(row, 5);
|
||||
emit dataChanged(newIndex, newIndex);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user