on xenial help sign in
Use image.status for visibility
commit8b04822c4719ea4dc97d6695403805c27e7df162 authorNick Dedekind <nicholas.dedekind@gmail.com> dateTue 29 Oct 2013, 12:01 (13 years ago) parentddb19d7
1 file changed+2−2
plugins/Unity/Indicators/qml/SliderMenuItem.qml+2−2
plugins/Unity/Indicators/qml/SliderMenuItem.qml+2−2
@@ -56,7 +56,7 @@ FramedMenuItem {
5656
5757 Image {
5858 id: leftImage
59− visible: source != ""
59+ visible: status === Image.Ready
6060 anchors.left: row.left
6161 anchors.verticalCenter: row.verticalCenter
6262 height: units.gu(4)
@@ -96,7 +96,7 @@ FramedMenuItem {
9696
9797 Image {
9898 id: rightImage
99− visible: source != ""
99+ visible: status === Image.Ready
100100 anchors.right: row.right
101101 anchors.verticalCenter: row.verticalCenter
102102 height: units.gu(4)