I have been trying to get this working to no avail. My code is like this:

Page1.qml

function update() {
  ...

}


PullDownMenu{ 
MenuItem{                                        onClicked:{ 
vardialog=pageStack.push(Qt.resolvedUrl("Dialog1.qml")); 
//Not working. Dialogcannotseeparent'sproperties?
                    dialog.accepted.connect(update());
}
}
}


What is the right way to connect the accepted signal in the dialog to the 
update function in the Page1 caller?
Thanks a lot!
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to