mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:53:51 +00:00
ok, that should be enough
This commit is contained in:
parent
84e07c95b1
commit
9c579dbd6c
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ void CSMWorld::ReorderRowsCommand::undo()
|
||||||
int size = static_cast<int> (mNewOrder.size());
|
int size = static_cast<int> (mNewOrder.size());
|
||||||
std::vector<int> reverse (size);
|
std::vector<int> reverse (size);
|
||||||
|
|
||||||
for (int i=0; i < size; ++i)
|
for (int i=0; i< size; ++i)
|
||||||
reverse.at (mNewOrder[i]) = i;
|
reverse.at (mNewOrder[i]) = i;
|
||||||
|
|
||||||
mModel.reorderRows (mBaseIndex, reverse);
|
mModel.reorderRows (mBaseIndex, reverse);
|
||||||
|
|
Loading…
Reference in a new issue