mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:49:55 +00:00
modified: ../../view/world/dialoguesubview.cpp
This commit is contained in:
parent
03980034a5
commit
5bee682bb3
2 changed files with 1 additions and 5 deletions
|
@ -42,7 +42,7 @@ QVariant CSMWorld::IdTable::data (const QModelIndex & index, int role) const
|
|||
if (role==Qt::EditRole && !mIdCollection->getColumn (index.column()).isEditable())
|
||||
return QVariant();
|
||||
|
||||
if (index.hasChildren())
|
||||
if (hasChildren(index))
|
||||
{
|
||||
std::pair<int, int> parentAdress(unfoldIndexAdress(index.internalId()));
|
||||
return mIdCollection->getNestedData(parentAdress.first, parentAdress.second, index.row(), index.column());
|
||||
|
|
|
@ -624,11 +624,7 @@ namespace CSMWorld
|
|||
virtual QVariant getData (const RefIdColumn *column, const RefIdData& data, int index) const;
|
||||
|
||||
virtual void setNestedData (const RefIdColumn *column, RefIdData& data, int index,
|
||||
<<<<<<< HEAD
|
||||
const QVariant& value, int subRowIndex, int subColIndex) const;
|
||||
=======
|
||||
const QVariant& value, int subRowIndex, int subColIndex) const;
|
||||
>>>>>>> 187fccc8cc630f1f469b4f5fc4e23a28ad8253ec
|
||||
|
||||
virtual void setData (const RefIdColumn *column, RefIdData& data, int index,
|
||||
const QVariant& value) const;
|
||||
|
|
Loading…
Reference in a new issue