Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57406

MessageDialog does not allow setting the default button

    XMLWordPrintable

Details

    Description

      I have created a MessageDialog with buttons StandardButton.Save | StandardButton.Discard | StandardButton.Cancel. The dialog shows up with "Don't Save" as the default option, which is bad. There needs to be a way to set this, like QMessageBox::setDefaultButton

      Attachments

        Issue Links

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              lukeworthtkbt Luke Worth
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: