app: fix chunk model parent

This commit is contained in:
itsmattkc 2022-07-03 13:34:05 -05:00
parent ef5d9a0060
commit 7db9fb91b4

View file

@ -45,7 +45,7 @@ QModelIndex ChunkModel::parent(const QModelIndex &index) const
}
size_t row = grandparent->IndexOfChild(parent);
return createIndex(row, index.column(), parent);
return createIndex(row, 0, parent);
}
int ChunkModel::rowCount(const QModelIndex &parent) const