mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 13:49:40 +00:00
Fix for NestedTableProxyModel::forwardDataChanged()
This commit is contained in:
parent
d606b62688
commit
d1339a643a
1 changed files with 4 additions and 0 deletions
|
@ -192,4 +192,8 @@ void CSMWorld::NestedTableProxyModel::forwardDataChanged (const QModelIndex& top
|
||||||
emit dataChanged(index(0,0),
|
emit dataChanged(index(0,0),
|
||||||
index(mMainModel->rowCount(parent)-1, mMainModel->columnCount(parent)-1));
|
index(mMainModel->rowCount(parent)-1, mMainModel->columnCount(parent)-1));
|
||||||
}
|
}
|
||||||
|
else if (topLeft.parent() == parent && bottomRight.parent() == parent)
|
||||||
|
{
|
||||||
|
emit dataChanged(index(topLeft.row(), topLeft.column()), index(bottomRight.row(), bottomRight.column()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue