Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
b172b30368bafc839b92f767324496a509267fc7
Description
When using the ComboBox with a list model (for instance a QAbstractListModel) then modifications of the underlying model do not correctly reflect in the combo box. Modifications can be append, remove, and also renaming of elements (see example code).
Problems:
- When removing the selected element then the text does not update.
- When removing an element then there is some wired drawing of the first element (it looks like the deleted element's text is drawn as well).
- When renaming a selected element then the text is not updated.
Attachments
For Gerrit Dashboard: QTBUG-55118 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
167359,3 | ComboBox: ensure an update of the current text on data change | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |