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:
parent
307f04f827
commit
e6863c8f79
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user