on xenial help sign in
fix undefined property
commitbe85892ed756f963f0a39a4e2ad53ecf0af58c39 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 15 Aug 2013, 13:21 (13 years ago) parentf15835d
1 file changed+1−1
Shell.qml+1−1
Shell.qml+1−1
@@ -120,7 +120,7 @@ FocusScope {
120120 id: backgroundSettings
121121 schema.id: "org.gnome.desktop.background"
122122 }
123− property url gSettingsPicture: backgroundSettings.pictureUri.length > 0 ? backgroundSettings.pictureUri : shell.defaultBackground
123+ property url gSettingsPicture: backgroundSettings.pictureUri != undefined && backgroundSettings.pictureUri.length > 0 ? backgroundSettings.pictureUri : shell.defaultBackground
124124 onGSettingsPictureChanged: {
125125 shell.background = gSettingsPicture
126126 }