1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 19:36:39 +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();