Fixed #14 Search results opening the wrong note
This commit is contained in:
parent
b3d302acf4
commit
120464f954
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ Page {
|
||||||
|
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("NotePage.qml"),
|
onClicked: pageStack.push(Qt.resolvedUrl("NotePage.qml"),
|
||||||
{ account: nextcloudAccounts.itemAt(appSettings.currentAccount),
|
{ account: nextcloudAccounts.itemAt(appSettings.currentAccount),
|
||||||
note: nextcloudAccounts.itemAt(appSettings.currentAccount).modelData[index]} )
|
note: nextcloudAccounts.itemAt(appSettings.currentAccount).model.get(index)} )
|
||||||
onPressAndHold: menu.open(note)
|
onPressAndHold: menu.open(note)
|
||||||
|
|
||||||
ContextMenu {
|
ContextMenu {
|
||||||
|
|
Loading…
Reference in a new issue