on xenial help sign in
Real fix
commit4b1b2058c7ef34ea9e7552283e04ac874bf3049f authorAlbert Astals <albert.astals@canonical.com> dateThu 17 Jul 2014, 15:10 (12 years ago) parent7826737
2 files changed+5−3
qml/Dash/GenericScopeView.qml+4 qml/Dash/PreviewListView.qml+1−3
qml/Dash/GenericScopeView.qml+4
@@ -361,6 +361,10 @@ FocusScope {
361361 width: parent.width
362362 height: parent.height
363363 anchors.left: categoryView.right
364+
365+ onOpenChanged: {
366+ pageHeader.unfocus();
367+ }
364368 }
365369
366370}
qml/Dash/PreviewListView.qml+1−3
@@ -73,9 +73,7 @@ Item {
7373 property bool open: false
7474
7575 onOpenChanged: {
76− if (open) {
77− header.unfocus();
78− } else {
76+ if (!open) {
7977 // Cancel any pending preview requests or actions
8078 if (previewListView.currentItem && previewListView.currentItem.previewData !== undefined) {
8179 previewListView.currentItem.previewData.cancelAction();