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

uic generates code that calls setDefault() on a button before it is associated with the parent dialog

    XMLWordPrintable

Details

    • c3737573ced4dc2217f31aac627fa8070e7512c8 (qtbase/5.5, 23.4.2015)

    Description

      uic generates code that calls setDefault() on a button before it is associated with the parent dialog.

      In the example attached, the setDefault() call comes too early which means the wrong button ends up being seen as default due to more than one having auto default set.

      Attachments

        1. qtbug44406.ui
          3 kB
        2. qtbug44406.zip
          2 kB
        3. qtbug-44406.zip
          2 kB
        4. ui_qtbug44406.txt
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            qtcomsupport Qt Support
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes