mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
lower case in command, not in the collection
This commit is contained in:
parent
33620a001b
commit
a45339bbe6
@ -212,7 +212,7 @@ namespace CSMWorld
|
||||
|
||||
if (argumentType == UniversalId::ArgumentType_Id)
|
||||
{
|
||||
copy.get().mId = Misc::StringUtils::lowerCase(destination);
|
||||
copy.get().mId = destination;
|
||||
}
|
||||
|
||||
insertRecord(copy, getAppendIndex(destination, type));
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "commands.hpp"
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
|
||||
#include <components/misc/stringops.hpp>
|
||||
#include "idtable.hpp"
|
||||
#include "idtable.hpp"
|
||||
|
||||
@ -34,7 +34,7 @@ CSMWorld::CloneCommand::CloneCommand(CSMWorld::IdTable& model,
|
||||
QUndoCommand(parent),
|
||||
mModel(model),
|
||||
mIdOrigin(idOrigin),
|
||||
mIdDestination(IdDestination),
|
||||
mIdDestination(Misc::StringUtils::lowerCase(IdDestination)),
|
||||
mArgumentType(argumentType),
|
||||
mType(type)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user