qml: avoid stacking ReceiveRequests pages
This commit is contained in:
@@ -243,7 +243,8 @@ ElDialog {
|
|||||||
text: qsTr('Requests')
|
text: qsTr('Requests')
|
||||||
onClicked: {
|
onClicked: {
|
||||||
dialog.close()
|
dialog.close()
|
||||||
app.stack.push(Qt.resolvedUrl('ReceiveRequests.qml'))
|
if (app.stack.currentItem.objectName != 'ReceiveRequests')
|
||||||
|
app.stack.push(Qt.resolvedUrl('ReceiveRequests.qml'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FlatButton {
|
FlatButton {
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import "controls"
|
|||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
id: root
|
id: root
|
||||||
|
objectName: 'ReceiveRequests'
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user