Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]How to set the default button of a MessageDialog in QML?
CoderJeff last edited by CoderJeff
The default button is "Yes", but I want to set the button "No" as the default button.
How to do it?
I guess currently there's no way to do so in QML. You can create your own
Dialog, add Buttons to it and set focus to the required one.
CoderJeff last edited by
Thank you stop me looking for the solution in time. I have spent so much time on this problem.