From 120464f954fdca91dba4fed44f27c1c9fab1edc9 Mon Sep 17 00:00:00 2001 From: Scharel Clemens Date: Wed, 5 Dec 2018 15:52:35 +0100 Subject: [PATCH] Fixed #14 Search results opening the wrong note --- qml/pages/NotesPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {