mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-03-13 14:43:31 -04:00
app: fix chunk model parent
This commit is contained in:
parent
ef5d9a0060
commit
7db9fb91b4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue