on xenial help sign in
Further fixes from MP-comments.
commit100f3008ce4ad18c988f859882676c3015cca476 authorMirco Müller <mirco.mueller@ubuntu.com> dateFri 20 Jun 2014, 17:51 (12 years ago) parentfa40195
1 file changed+4−5
qml/Notifications/Notification.qml+4−5
qml/Notifications/Notification.qml+4−5
@@ -341,14 +341,13 @@ Item {
341341 // to work around a feature/bug? of the
342342 // ComboButton SDK-element, making a regular
343343 // unwrapped Column item flickable
344+ // see LP: #1332590
344345 interactive: false
345346 Column {
346347 Repeater {
347348 id: comboRepeater
348349
349− Component.onCompleted: {
350− // an assignment is ok here, since this
351− // label is static and does not change
350+ onVisibleChanged: {
352351 comboButton.text = comboRepeater.itemAt(2).actionLabel
353352 }
354353
@@ -370,12 +369,12 @@ Item {
370369 width: comboButton.width
371370 height: comboIcon.height + units.gu(2)
372371
373− function getComboIcon (str) {
372+ function getComboIcon(str) {
374373 var result = str.split(":")
375374 return result[0]
376375 }
377376
378− function getComboLabel (str) {
377+ function getComboLabel(str) {
379378 var result = str.split(":")
380379 return result[1]
381380 }