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