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

Strange behavior of QComboBox with custom model

    XMLWordPrintable

Details

    • Windows
    • b0c804f345a383d2813f4709632baa43a4275646 (qt/qtbase/5.15)

    Description

      QComboBox has quite strange behavior with with model that changes dynamically. 

      After resetting model, the current index becomes -1 (even if there are some rows left in the model), but when another model was set to the combobox current index becomes 0.

      Check attached project for more details QComboBoxStrangeBehavior.rar

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              max_osiponok Max Osiponok
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes