change pop function invoke
This commit is contained in:
parent
41ebe1d64a
commit
928a4ab038
@ -45,7 +45,7 @@ ApplicationWindow {
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: {
|
onClicked: {
|
||||||
stack.pop()
|
navigatorPop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -169,6 +169,7 @@ ApplicationWindow {
|
|||||||
|
|
||||||
function navigatorPop() {
|
function navigatorPop() {
|
||||||
stack.pop()
|
stack.pop()
|
||||||
|
console.log("stack.depth", stack.depth)
|
||||||
if (stack.depth > 1) {
|
if (stack.depth > 1) {
|
||||||
navbar.visible = true
|
navbar.visible = true
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user