mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 06:23:52 +00:00
Get the correct index for the type of the record being cloned.
This commit is contained in:
parent
445f828014
commit
4152086890
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ void CSMWorld::IdTable::cloneRecord(const std::string& origin,
|
|||
const std::string& destination,
|
||||
CSMWorld::UniversalId::Type type)
|
||||
{
|
||||
int index = mIdCollection->getAppendIndex (destination);
|
||||
int index = mIdCollection->getAppendIndex (destination, type);
|
||||
|
||||
beginInsertRows (QModelIndex(), index, index);
|
||||
mIdCollection->cloneRecord(origin, destination, type);
|
||||
|
|
Loading…
Reference in a new issue