Guest User

Untitled

a guest
Dec 21st, 2015
52
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MenuItem {
  2. text: qsTr("Edit")
  3. onClicked: {
  4. console.log("going to edit", model.username)
  5. page.stopthisshit = true
  6. var test = pageStack.push(Qt.resolvedUrl("EditCon.qml"), {"modelID": model})
  7. test.onAccepted.connect(function() { page.stopthisshit = false } )
  8. }
  9. }
RAW Paste Data