mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 06:23:52 +00:00
lower case in command, not in the collection
This commit is contained in:
parent
33620a001b
commit
a45339bbe6
2 changed files with 3 additions and 3 deletions
|
@ -212,7 +212,7 @@ namespace CSMWorld
|
||||||
|
|
||||||
if (argumentType == UniversalId::ArgumentType_Id)
|
if (argumentType == UniversalId::ArgumentType_Id)
|
||||||
{
|
{
|
||||||
copy.get().mId = Misc::StringUtils::lowerCase(destination);
|
copy.get().mId = destination;
|
||||||
}
|
}
|
||||||
|
|
||||||
insertRecord(copy, getAppendIndex(destination, type));
|
insertRecord(copy, getAppendIndex(destination, type));
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include "commands.hpp"
|
#include "commands.hpp"
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
|
#include <components/misc/stringops.hpp>
|
||||||
#include "idtable.hpp"
|
#include "idtable.hpp"
|
||||||
#include "idtable.hpp"
|
#include "idtable.hpp"
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ CSMWorld::CloneCommand::CloneCommand(CSMWorld::IdTable& model,
|
||||||
QUndoCommand(parent),
|
QUndoCommand(parent),
|
||||||
mModel(model),
|
mModel(model),
|
||||||
mIdOrigin(idOrigin),
|
mIdOrigin(idOrigin),
|
||||||
mIdDestination(IdDestination),
|
mIdDestination(Misc::StringUtils::lowerCase(IdDestination)),
|
||||||
mArgumentType(argumentType),
|
mArgumentType(argumentType),
|
||||||
mType(type)
|
mType(type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue