diff --git a/src/qml/DashboardView.qml b/src/qml/DashboardView.qml index d1364ee..e8cf685 100644 --- a/src/qml/DashboardView.qml +++ b/src/qml/DashboardView.qml @@ -229,9 +229,9 @@ Rectangle { onEntered: drag => { if (!dragArea.isAddItem) { - visualModel.items.move( - drag.source.DelegateModel.itemsIndex, - dragArea.DelegateModel.itemsIndex) + visualModel.model.moveItem( + drag.source.index, + dragArea.index) } } }