on xenial help sign in
Give wideview test focus to start
commitdb11c195bfb75ecf5fef296ce14e97adbda7b95a authorMichael Terry <michael.terry@canonical.com> dateThu 7 Jul 2016, 17:09 (10 years ago) parentaec36f7
1 file changed+4
tests/qmltests/Greeter/tst_WideView.qml+4
tests/qmltests/Greeter/tst_WideView.qml+4
@@ -58,6 +58,10 @@ StyledItem {
5858 locked: lockedCheckBox.checked
5959 inputMethod: fakeInputMethod
6060
61+ Component.onCompleted: {
62+ forceActiveFocus();
63+ }
64+
6165 Component.onDestruction: {
6266 loader.itemDestroyed = true
6367 }