|
|
|
@ -159,7 +159,9 @@ void CSMWorld::IdTable::addRecordWithData (const std::string& id,
|
|
|
|
|
mIdCollection->appendBlankRecord (id, type);
|
|
|
|
|
|
|
|
|
|
for (std::map<int, QVariant>::const_iterator iter (data.begin()); iter!=data.end(); ++iter)
|
|
|
|
|
mIdCollection->setData (index, iter->first, iter->second);
|
|
|
|
|
{
|
|
|
|
|
mIdCollection->setData(index, iter->first, iter->second);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
endInsertRows();
|
|
|
|
|
}
|
|
|
|
|