on xenial help sign in
Remove index == departmentListView.currentIndex
0df89faAlbert Astals
qml/Dash/DashDepartments.qml+1−2
@@ -126,8 +126,7 @@ AbstractButton {
126 width: departmentListView.width
126 width: departmentListView.width
127 property real desiredHeight: {
127 property real desiredHeight: {
128 if (root.showList) {
128 if (root.showList) {
129− if (department && department.loaded &&
129+ if (department && department.loaded && x == departmentListView.contentX)
130− index == departmentListView.currentIndex && x == departmentListView.contentX)
131 {
130 {
132 return Math.min(implicitHeight, departmentListView.maxHeight);
131 return Math.min(implicitHeight, departmentListView.maxHeight);
133 } else {
132 } else {