Fix combo box setting item so it displays the right things

This commit is contained in:
Arjen Hiemstra 2016-05-11 17:15:04 +02:00
parent d1d2dc04c5
commit 3514d4839d

View file

@ -11,12 +11,12 @@ SettingItem
{
id: base
ComboBox
contents: ComboBox
{
// signal valueChanged(string value);
// id: base
model: definition.options
textRole: "name";
textRole: "value";
anchors.fill: parent
MouseArea
{