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

Strange behavior of QComboBox with custom model

XMLWordPrintable

    • Windows
    • b0c804f345a383d2813f4709632baa43a4275646 (qt/qtbase/5.15)

      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

       

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes