on xenial help sign in
fix warning
commitf14ce284341677c914269dc577a79794f64eeb4b authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 22 May 2015, 14:18 (11 years ago) parent89ee18d
1 file changed+1−1
qml/Stages/DesktopStage.qml+1−1
qml/Stages/DesktopStage.qml+1−1
@@ -442,7 +442,7 @@ Rectangle {
442442 Label {
443443 id: currentSelectedLabel
444444 anchors { bottom: parent.bottom; bottomMargin: root.height * 0.625; horizontalCenter: parent.horizontalCenter }
445− text: ApplicationManager.get(appRepeater.highlightedIndex).name
445+ text: appRepeater.highlightedIndex >= 0 ? ApplicationManager.get(appRepeater.highlightedIndex).name : ""
446446 visible: false
447447 }
448448