1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Editor: Undo editable column check in record add

This commit is contained in:
Rob Cutmore 2016-05-08 06:05:52 -04:00
parent 307f04f827
commit e6863c8f79

View File

@ -160,9 +160,7 @@ void CSMWorld::IdTable::addRecordWithData (const std::string& id,
for (std::map<int, QVariant>::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();