Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MenuItem {
- text: qsTr("Edit")
- onClicked: {
- console.log("going to edit", model.username)
- page.stopthisshit = true
- var test = pageStack.push(Qt.resolvedUrl("EditCon.qml"), {"modelID": model})
- test.onAccepted.connect(function() { page.stopthisshit = false } )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement