diff --git a/src/qml/pages/node/NodeSettings.qml b/src/qml/pages/node/NodeSettings.qml index 45c1f0eda8..527da7dff4 100644 --- a/src/qml/pages/node/NodeSettings.qml +++ b/src/qml/pages/node/NodeSettings.qml @@ -128,7 +128,7 @@ Item { Component { id: display_page SettingsDisplay { - onBackClicked: { + onBack: { nodeSettingsView.pop() } } @@ -148,7 +148,7 @@ Item { Component { id: peers_page Peers { - onBackClicked: { + onBack: { nodeSettingsView.pop() peerTableModel.stopAutoRefresh(); } @@ -160,7 +160,7 @@ Item { Component { id: peer_details PeerDetails { - onBackClicked: { + onBack: { nodeSettingsView.pop() } } diff --git a/src/qml/pages/node/PeerDetails.qml b/src/qml/pages/node/PeerDetails.qml index c68dc36486..21d1364fbe 100644 --- a/src/qml/pages/node/PeerDetails.qml +++ b/src/qml/pages/node/PeerDetails.qml @@ -11,14 +11,14 @@ import "../../components" Page { id: root - signal backClicked() + signal back() property PeerDetailsModel details Connections { target: details function onDisconnected() { - root.backClicked() + root.back() } } @@ -27,7 +27,7 @@ Page { leftItem: NavButton { iconSource: "image://images/caret-left" text: qsTr("Back") - onClicked: root.backClicked() + onClicked: root.back() } centerItem: Header { headerBold: true diff --git a/src/qml/pages/node/Peers.qml b/src/qml/pages/node/Peers.qml index 173029ec7d..02d0e9aebb 100644 --- a/src/qml/pages/node/Peers.qml +++ b/src/qml/pages/node/Peers.qml @@ -11,7 +11,7 @@ import "../../controls" import "../../components" Page { - signal backClicked + signal back signal peerSelected(PeerDetailsModel peerDetails) id: root @@ -21,7 +21,7 @@ Page { leftItem: NavButton { iconSource: "image://images/caret-left" text: qsTr("Back") - onClicked: root.backClicked() + onClicked: root.back() } centerItem: Header { headerBold: true diff --git a/src/qml/pages/settings/SettingsBlockClockDisplayMode.qml b/src/qml/pages/settings/SettingsBlockClockDisplayMode.qml index 49c3badfc0..8cbf96231d 100644 --- a/src/qml/pages/settings/SettingsBlockClockDisplayMode.qml +++ b/src/qml/pages/settings/SettingsBlockClockDisplayMode.qml @@ -9,7 +9,7 @@ import "../../controls" import "../../components" Page { - signal backClicked + signal back id: root background: null @@ -22,7 +22,7 @@ Page { leftItem: NavButton { iconSource: "image://images/caret-left" text: qsTr("Back") - onClicked: root.backClicked() + onClicked: root.back() } centerItem: Header { headerBold: true diff --git a/src/qml/pages/settings/SettingsConnection.qml b/src/qml/pages/settings/SettingsConnection.qml index 361a9e746b..5bffd25d9f 100644 --- a/src/qml/pages/settings/SettingsConnection.qml +++ b/src/qml/pages/settings/SettingsConnection.qml @@ -80,7 +80,7 @@ Item { } } SettingsProxy { - onBackClicked: { + onBack: { connectionSwipe.decrementCurrentIndex() } } diff --git a/src/qml/pages/settings/SettingsDisplay.qml b/src/qml/pages/settings/SettingsDisplay.qml index fc95b55e05..2c8d543452 100644 --- a/src/qml/pages/settings/SettingsDisplay.qml +++ b/src/qml/pages/settings/SettingsDisplay.qml @@ -9,7 +9,7 @@ import "../../controls" import "../../components" Item { - signal backClicked + signal back id: root @@ -29,7 +29,7 @@ Item { leftItem: NavButton { iconSource: "image://images/caret-left" text: qsTr("Back") - onClicked: root.backClicked() + onClicked: root.back() } centerItem: Header { headerBold: true @@ -70,7 +70,7 @@ Item { Component { id: theme_page SettingsTheme { - onBackClicked: { + onBack: { nodeSettingsView.pop() } } @@ -78,7 +78,7 @@ Item { Component { id: blockclocksize_page SettingsBlockClockDisplayMode { - onBackClicked: { + onBack: { nodeSettingsView.pop() } } diff --git a/src/qml/pages/settings/SettingsProxy.qml b/src/qml/pages/settings/SettingsProxy.qml index ce8a906f10..2f2d847a5b 100644 --- a/src/qml/pages/settings/SettingsProxy.qml +++ b/src/qml/pages/settings/SettingsProxy.qml @@ -9,7 +9,7 @@ import "../../controls" import "../../components" Page { - signal backClicked + signal back id: root @@ -23,7 +23,7 @@ Page { leftItem: NavButton { iconSource: "image://images/caret-left" text: qsTr("Back") - onClicked: root.backClicked() + onClicked: root.back() } centerItem: Header { headerBold: true diff --git a/src/qml/pages/settings/SettingsTheme.qml b/src/qml/pages/settings/SettingsTheme.qml index a65cd31881..4b223eb99f 100644 --- a/src/qml/pages/settings/SettingsTheme.qml +++ b/src/qml/pages/settings/SettingsTheme.qml @@ -9,7 +9,7 @@ import "../../controls" import "../../components" Page { - signal backClicked + signal back id: root background: null @@ -22,7 +22,7 @@ Page { leftItem: NavButton { iconSource: "image://images/caret-left" text: qsTr("Back") - onClicked: root.backClicked() + onClicked: root.back() } centerItem: Header { headerBold: true