1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-06 01:49:42 +00:00

Merge branch 'master' into 'master'

Fixed passed indexes for object deletion #5384

See merge request OpenMW/openmw!196
This commit is contained in:
psi29a 2020-07-10 12:10:33 +00:00
commit 8f86617262

View file

@ -94,7 +94,7 @@ bool CSMWorld::IdTable::setData (const QModelIndex &index, const QVariant &value
// views that the whole row has changed.
emit dataChanged(this->index(index.row(), 0),
this->index(index.row(), columnCount(index.parent())));
this->index(index.row(), columnCount(index.parent()) - 1));
} else
{