1
0
Fork 0

Launcher: fix scenery path re-ordering

This commit is contained in:
James Turner 2018-06-13 11:03:06 +01:00
parent c3414a63c2
commit 2e438e357e

View file

@ -362,7 +362,10 @@ Item {
}
onPerformMove: {
var modifiedPaths = _addOns.sceneryPaths.slice()
modifiedPaths.splice(model.index, 1);
modifiedPaths.splice(newIndex, 0, modelData)
_addOns.sceneryPaths = modifiedPaths;
}
}
}