View Single Post
solbrit's Avatar
Posts: 126 | Thanked: 59 times | Joined on Jan 2011
#10
Say I have a page stack which from bottom to top goes "a.qml" -> "b.qml" -> "c.qml".

- pageStack.push(Qt.resolvedUrl("b.qml")) will get me from a to b
- pageStack.pop() will take me back from b to a

However nothing happens when I try giving pop a page argument, ie going from a to b, then from b to c, and then from c going DIRECTLY back to a with:

- pageStack.pop(Qt.resolvedUrl("a.qml"))

Why is this? How can I go directly back to the first page?