Just small fixes

This commit is contained in:
Scharel Clemens 2020-01-11 13:32:26 +01:00
parent 3e32fb94f9
commit 21cccf2f6e
3 changed files with 8 additions and 8 deletions

View file

@ -50,18 +50,18 @@ Dialog {
DialogHeader {
id: dialogHeader
title: editDialog.title
//title: editDialog.title
}
Column {
width: parent.width
spacing: Theme.paddingLarge
Separator {
/*Separator {
width: parent.width
color: Theme.primaryColor
horizontalAlignment: Qt.AlignHCenter
}
}*/
TextArea {
id: contentArea

View file

@ -114,7 +114,7 @@ Dialog {
MenuItem {
text: enabled ? qsTr("Reload") : qsTr("Updating...")
enabled: !notesApi.busy
onClicked: notesApi.getNoteFromApi(noteID)
onClicked: notesApi.getNote(id)
}
MenuLabel {
visible: appSettings.currentAccount.length >= 0
@ -127,7 +127,7 @@ Dialog {
DialogHeader {
id: dialogHeader
title: noteDialog.title
//title: noteDialog.title
acceptText: qsTr("Edit")
cancelText: qsTr("Notes")
}
@ -143,11 +143,11 @@ Dialog {
width: parent.width
spacing: Theme.paddingLarge
Separator {
/*Separator {
width: parent.width
color: Theme.primaryColor
horizontalAlignment: Qt.AlignHCenter
}
}*/
LinkedLabel {
id: contentLabel

View file

@ -145,7 +145,7 @@ Page {
ComboBox {
id: sortByComboBox
property var criteria: [
{ role: "prettyDate", text: qsTr("Last edited") },
{ role: "modifiedString", text: qsTr("Last edited") },
{ role: "category", text: qsTr("Category") },
{ role: "title", text: qsTr("Title alphabetically") },
{ role: "none", text: qsTr("No sorting") }