on xenial help sign in
Remove index == departmentListView.currentIndex

Since x == departmentListView.contentX is more restrictive we don't need it

commit0df89fadfc41c5cb50c041aa4be1afe72280d315 authorAlbert Astals <albert.astals@canonical.com> dateThu 19 Jun 2014, 12:41 (12 years ago) parenta36505a
1 file changed+1−2
qml/Dash/DashDepartments.qml+1−2
qml/Dash/DashDepartments.qml+1−2
@@ -126,8 +126,7 @@ AbstractButton {
126126 width: departmentListView.width
127127 property real desiredHeight: {
128128 if (root.showList) {
129− if (department && department.loaded &&
130− index == departmentListView.currentIndex && x == departmentListView.contentX)
129+ if (department && department.loaded && x == departmentListView.contentX)
131130 {
132131 return Math.min(implicitHeight, departmentListView.maxHeight);
133132 } else {