Commit f573157c authored by Caroline Chao's avatar Caroline Chao Committed by The Qt Project
Browse files

ComboBox: Arrays of strings don't have textRole.


Don't return a get function when the model is an array and
the return value is a string. So resolveTextValue() won't try
to retrieve a textRole in that case.

Change-Id: Ifc85eacc67accd34d63805487e20ae5829523c14
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent 903c3c0e
Showing with 12 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment