diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-29 13:24:34 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-01-28 06:24:26 +0100 |
commit | b0c804f345a383d2813f4709632baa43a4275646 (patch) | |
tree | 5b522423ee7cb3475e26112950ed00086a0ef6e7 /mkspecs | |
parent | fb7c9dfc060a09b4b1fa6d474f106bb6c1d2d4df (diff) |
QComboBox: unify behavior of setModel() and modelReset
When a new model is set, a valid index is selected. When a model is
reset, this is not the case which is slightly inconsistent. Fix it by
using the same logic to find a valid index when the model is reset
Fixes: QTBUG-80998
Change-Id: I6c167511e199a6664343cf1dc3bcd27c65389bfd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions