diff --git a/src/GUI/qml/AddOns.qml b/src/GUI/qml/AddOns.qml index c02150b9e..d9fc81dd6 100644 --- a/src/GUI/qml/AddOns.qml +++ b/src/GUI/qml/AddOns.qml @@ -362,7 +362,10 @@ Item { } onPerformMove: { - + var modifiedPaths = _addOns.sceneryPaths.slice() + modifiedPaths.splice(model.index, 1); + modifiedPaths.splice(newIndex, 0, modelData) + _addOns.sceneryPaths = modifiedPaths; } } }