qmlFrontend/qml/qmlFrontend/HWComboBox.qml
branchqmlfrontend
changeset 11432 97e3e62ea5f9
parent 11426 ab6a6d9ebfc0
--- a/qmlFrontend/qml/qmlFrontend/HWComboBox.qml	Wed Nov 25 22:10:01 2015 +0300
+++ b/qmlFrontend/qml/qmlFrontend/HWComboBox.qml	Thu Nov 26 20:11:54 2015 +0300
@@ -54,5 +54,10 @@
         }
     }
 
+    function showItem(item) {
+        cbIcon.source = item.iconSource
+        cbText.text = item.text
+    }
+
     onClicked: selection.visibility = Window.Windowed
 }