on xenial help sign in
change if (string) as per review suggestion
commit55d032f67346ebda71825afa8d16231c497e5c00 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 3 Jul 2014, 11:19 (12 years ago) parent481c942
1 file changed+1−1
qml/Components/PageHeader.qml+1−1
qml/Components/PageHeader.qml+1−1
@@ -73,7 +73,7 @@ Item {
7373 }
7474
7575 onImageSourceChanged: {
76− if (imageSource.length > 0) {
76+ if (imageSource) {
7777 header.contents = imageComponent.createObject();
7878 } else {
7979 header.contents.destroy();