summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qfxtextinput
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qfxtextinput')
-rw-r--r--tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp b/tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp
index bd0b9c3..81b4ac8 100644
--- a/tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp
+++ b/tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp
@@ -310,6 +310,7 @@ void tst_qfxtextinput::navigation()
QmlView *canvas = createView(SRCDIR "/data/navigation.qml");
canvas->execute();
canvas->show();
+ canvas->setFocus();
QVERIFY(canvas->root() != 0);