Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML MessageBox onYes called two times after click

$
0
0
 MessageDialog {         id: messageDialog         text: "Czy chcesz pobrać ten wiersz?"         onYes: {             console.log("MessageDialog onYes")         }         standardButtons: StandardButton.Yes | StandardButton.No         Component.onCompleted: visible = false     } and this gives me such log DefaultMessageBox onClicked MessageDialog onYes MessageDialog onYes I added debug message in the DefaultMessageDialog.qml to be sure that there is only one MessageDialog and only one Button. As I said before, the dialog works correct on my Mac that I started the project, but whenever I clone repo to any other computer the issue exists. I tried to update Qt, Qt Creator but with no effect.

Viewing all articles
Browse latest Browse all 4972

Trending Articles