diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2014-10-21 10:01:58 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2014-10-24 08:51:18 +0200 |
commit | c4430ed02301c456dd591c88049ee22bc7dd9725 (patch) | |
tree | 2f82ced8c4a2c233ce5661c1cd1f07200cb5851a /tests/auto/widgets/widgets/qmainwindow | |
parent | 29d3b9745b4ba57cd79c95a96659f97c85c3b4ee (diff) |
Correctly update QComboBox appearance on editable change
The updateDelegate() function checks isEditable() which in
turn checks if d->lineEdit != 0, so we need to make the
call after the lineEdit has actually been set/unset, otherwise
the change to the delegate will not come until the next time
you update the delegate.
[ChangeLog][QComboBox] Fixed updating appearance of popup menu
when changing the editable state of the combo box.
Change-Id: Ib32f36cabd53c2c30d6256484a1eae131419960a
Task-number: QTBUG-33537
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qmainwindow')
0 files changed, 0 insertions, 0 deletions