Launcher: fix scenery path re-ordering
This commit is contained in:
parent
c3414a63c2
commit
2e438e357e
1 changed files with 4 additions and 1 deletions
|
@ -362,7 +362,10 @@ Item {
|
|||
}
|
||||
|
||||
onPerformMove: {
|
||||
|
||||
var modifiedPaths = _addOns.sceneryPaths.slice()
|
||||
modifiedPaths.splice(model.index, 1);
|
||||
modifiedPaths.splice(newIndex, 0, modelData)
|
||||
_addOns.sceneryPaths = modifiedPaths;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue