on xenial help sign in
remember focus state
commit8300861b097ba3f734b3986ec72e48f14ba8de99 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 13 Mar 2017, 13:21 (10 years ago) parentbac0763
1 file changed+2
qml/Launcher/Launcher.qml+2
qml/Launcher/Launcher.qml+2
@@ -360,7 +360,9 @@ FocusScope {
360360 bottom: parent.bottom
361361 right: parent.left
362362 onRightMarginChanged: {
363+ var hadFocus = drawer.searchTextField.focus;
363364 drawer.searchTextField.focus = false;
365+ drawer.searchTextField.focus = hadFocus;
364366 }
365367 }
366368 width: Math.min(root.width, units.gu(90)) * .9