Hi oosavu
You are right I’m overcomplicating things. Using:
onGameclick: root.state = "game"
and in main.qml:
PagePanel {
id: pagepanel
state: "menu"
}
works fine.
Thank you
↧