mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
Correct the return type in IdTree::data() for Display_Role
This commit is contained in:
parent
b25cc6bc55
commit
bd46ddcf47
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ QVariant CSMWorld::IdTree::data (const QModelIndex & index, int role) const
|
|||
const NestableColumn *parentColumn = mNestedCollection->getNestableColumn(parentAddress.second);
|
||||
|
||||
if (role == ColumnBase::Role_Display)
|
||||
return parentColumn->nestedColumn(index.column()).mColumnId;
|
||||
return parentColumn->nestedColumn(index.column()).mDisplayType;
|
||||
|
||||
if (role == ColumnBase::Role_ColumnId)
|
||||
return parentColumn->nestedColumn(index.column()).mColumnId;
|
||||
|
|
Loading…
Reference in a new issue