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 { DialogHeader {
id: dialogHeader id: dialogHeader
title: editDialog.title //title: editDialog.title
} }
Column { Column {
width: parent.width width: parent.width
spacing: Theme.paddingLarge spacing: Theme.paddingLarge
Separator { /*Separator {
width: parent.width width: parent.width
color: Theme.primaryColor color: Theme.primaryColor
horizontalAlignment: Qt.AlignHCenter horizontalAlignment: Qt.AlignHCenter
} }*/
TextArea { TextArea {
id: contentArea id: contentArea

View file

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

View file

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