@@ -360,7 +360,9 @@ FocusScope {
360 bottom: parent.bottom
360 bottom: parent.bottom
361 right: parent.left
361 right: parent.left
362 onRightMarginChanged: {
362 onRightMarginChanged: {
363+ var hadFocus = drawer.searchTextField.focus;
363 drawer.searchTextField.focus = false;
364 drawer.searchTextField.focus = false;
365+ drawer.searchTextField.focus = hadFocus;
366 width: Math.min(root.width, units.gu(90)) * .9
368 width: Math.min(root.width, units.gu(90)) * .9