forked from teamnwah/openmw-tes3coop
reformatting
This commit is contained in:
parent
6a0b5defd7
commit
2899f04a3f
2 changed files with 4 additions and 2 deletions
|
@ -204,7 +204,8 @@ namespace CSMWorld
|
||||||
const std::string& destination,
|
const std::string& destination,
|
||||||
const UniversalId::Type type)
|
const UniversalId::Type type)
|
||||||
{
|
{
|
||||||
Record<ESXRecordT> copy(getRecord(origin));
|
Record<ESXRecordT> copy;
|
||||||
|
copy = getRecord(origin);
|
||||||
copy.mState = RecordBase::State_ModifiedOnly;
|
copy.mState = RecordBase::State_ModifiedOnly;
|
||||||
copy.get().mId = destination;
|
copy.get().mId = destination;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
|
|
||||||
#include "commands.hpp"
|
#include "commands.hpp"
|
||||||
#include <QAbstractItemModel>
|
|
||||||
#include "idtable.hpp"
|
#include "idtable.hpp"
|
||||||
|
#include <QAbstractItemModel>
|
||||||
#include <components/misc/stringops.hpp>
|
#include <components/misc/stringops.hpp>
|
||||||
|
|
||||||
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,
|
CSMWorld::ModifyCommand::ModifyCommand(QAbstractItemModel& model, const QModelIndex& index,
|
||||||
|
|
Loading…
Reference in a new issue