diff --git a/qml/pages/NotesPage.qml b/qml/pages/NotesPage.qml index 3c8260c..df08bf2 100644 --- a/qml/pages/NotesPage.qml +++ b/qml/pages/NotesPage.qml @@ -180,7 +180,7 @@ Page { onClicked: pageStack.push(Qt.resolvedUrl("NotePage.qml"), { account: nextcloudAccounts.itemAt(appSettings.currentAccount), - note: nextcloudAccounts.itemAt(appSettings.currentAccount).modelData[index]} ) + note: nextcloudAccounts.itemAt(appSettings.currentAccount).model.get(index)} ) onPressAndHold: menu.open(note) ContextMenu {