|
|
|
@ -129,7 +129,12 @@ void CSMWorld::IdTable::cloneRecord(const std::string& origin,
|
|
|
|
|
CSMWorld::UniversalId::ArgumentType argumentType,
|
|
|
|
|
CSMWorld::UniversalId::Type type)
|
|
|
|
|
{
|
|
|
|
|
int index = mIdCollection->getAppendIndex (destination);
|
|
|
|
|
beginInsertRows (QModelIndex(), index, index);
|
|
|
|
|
mIdCollection->cloneRecord(origin, destination, type, argumentType);
|
|
|
|
|
endInsertRows();
|
|
|
|
|
emit dataChanged (CSMWorld::IdTable::index (0, 0),
|
|
|
|
|
CSMWorld::IdTable::index (mIdCollection->getSize()-1, mIdCollection->getColumns()-1));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|