@@ -341,14 +341,13 @@ Item {
341 // to work around a feature/bug? of the
341 // to work around a feature/bug? of the
342 // ComboButton SDK-element, making a regular
342 // ComboButton SDK-element, making a regular
343 // unwrapped Column item flickable
343 // unwrapped Column item flickable
344 interactive: false
345 interactive: false
346 Repeater {
347 Repeater {
347 id: comboRepeater
348 id: comboRepeater
349− Component.onCompleted: {
350+ onVisibleChanged: {
350− // an assignment is ok here, since this
351− // label is static and does not change
352 comboButton.text = comboRepeater.itemAt(2).actionLabel
351 comboButton.text = comboRepeater.itemAt(2).actionLabel
@@ -370,12 +369,12 @@ Item {
370 width: comboButton.width
369 width: comboButton.width
371 height: comboIcon.height + units.gu(2)
370 height: comboIcon.height + units.gu(2)
373− function getComboIcon (str) {
372+ function getComboIcon(str) {
374 var result = str.split(":")
373 var result = str.split(":")
375 return result[0]
374 return result[0]
378− function getComboLabel (str) {
377+ function getComboLabel(str) {
379 var result = str.split(":")
378 var result = str.split(":")
380 return result[1]
379 return result[1]