From e6863c8f796ee4e4fe77589e22d722e3a837cc39 Mon Sep 17 00:00:00 2001 From: Rob Cutmore Date: Sun, 8 May 2016 06:05:52 -0400 Subject: [PATCH] Editor: Undo editable column check in record add --- apps/opencs/model/world/idtable.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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();