mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:23:53 +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),
|
||||
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