on xenial help sign in
merge ifs
cbbf816Albert Astals
Dash/GenericScopeView.qml+2−4
@@ -119,10 +119,8 @@ ScopeView {
119 width: categoryView.width
119 width: categoryView.width
120 text: section
120 text: section
121 image: {
121 image: {
122− if (delegate) {
123− if (delegate.expandable)
122+ if (delegate && delegate.expandable)
124− return delegate.filtered ? "graphics/header_handlearrow.png" : "graphics/header_handlearrow2.png"
123+ return delegate.filtered ? "graphics/header_handlearrow.png" : "graphics/header_handlearrow2.png"
125− }
126 return "";
124 return "";
127 }
125 }
128 onClicked: {
126 onClicked: {