From 8a8b4986da14c5b80d5d5ecebbb8ef2718c3f0c1 Mon Sep 17 00:00:00 2001 From: Giovanni Bodega Date: Wed, 6 May 2020 16:39:32 +0100 Subject: [PATCH] Fixed passed indexes for object deletion #5384 --- apps/opencs/model/world/idtable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/model/world/idtable.cpp b/apps/opencs/model/world/idtable.cpp index a0dbd7bade..8ae2fce544 100644 --- a/apps/opencs/model/world/idtable.cpp +++ b/apps/opencs/model/world/idtable.cpp @@ -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 {