diff --git a/apps/opencs/model/world/idtable.cpp b/apps/opencs/model/world/idtable.cpp index 5f50f22109..cebd0ebdbf 100644 --- a/apps/opencs/model/world/idtable.cpp +++ b/apps/opencs/model/world/idtable.cpp @@ -160,9 +160,7 @@ void CSMWorld::IdTable::addRecordWithData (const std::string& id, for (std::map::const_iterator iter (data.begin()); iter!=data.end(); ++iter) { - int columnIndex = getModelIndex(id, iter->first).column(); - if (mIdCollection->getColumn(columnIndex).isEditable()) - mIdCollection->setData(index, iter->first, iter->second); + mIdCollection->setData(index, iter->first, iter->second); } endInsertRows();