Merge branch 'master' into 'master'

Fixed passed indexes for object deletion #5384

See merge request OpenMW/openmw!196
pull/2959/head
psi29a 5 years ago
commit 8f86617262

@ -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
{

Loading…
Cancel
Save