mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:09:41 +00:00
minor correction
This commit is contained in:
parent
6aaa15b2e8
commit
9e01a54d72
1 changed files with 2 additions and 2 deletions
|
@ -394,8 +394,8 @@ void CSVWorld::RegionMap::dropEvent (QDropEvent* event)
|
|||
std::string cellId(regionModel->data (index, CSMWorld::RegionMap::Role_CellId).
|
||||
toString().toUtf8().constData());
|
||||
|
||||
QModelIndex index2 = cellsModel->getModelIndex (cellId,
|
||||
cellsModel->findColumnIndex (CSMWorld::Columns::ColumnId_Region));
|
||||
QModelIndex index2(cellsModel->getModelIndex (cellId,
|
||||
cellsModel->findColumnIndex (CSMWorld::Columns::ColumnId_Region)));
|
||||
|
||||
mDocument.getUndoStack().push(new CSMWorld::ModifyCommand
|
||||
(*cellsModel, index2, QString::fromUtf8(record.getId().c_str())));
|
||||
|
|
Loading…
Reference in a new issue