on xenial help sign in
Less ugly uglyness
5716fa9Albert Astals
Dash/GenericScopeView.qml+1−5
@@ -105,11 +105,7 @@ ScopeView {
105
105
106 Component.onDestruction: {
106 Component.onDestruction: {
107 if (source.toString().indexOf("Apps/RunningApplicationsGrid.qml") != -1) {
107 if (source.toString().indexOf("Apps/RunningApplicationsGrid.qml") != -1) {
108− if (results) {
109− enableHeightBehavior = (results.firstModel.count + results.secondModel.count == 0)
108+ enableHeightBehavior = (item.firstModel.count + item.secondModel.count == 0)
110− } else {
111− enableHeightBehavior = true
112− }
113 }
109 }
114 }
110 }
115
111