diff options
author | José Millán Soto <fid@gpul.org> | 2012-09-13 16:50:31 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-16 14:49:05 +0100 |
commit | 6e713cf03d438db7dcd8915098081ad9e880f929 (patch) | |
tree | 8e181fc3b5842aba8ed5bcb9fbc486f087909c14 /tests | |
parent | 568b278b75496861881bdf6834ea9b0e99d97537 (diff) |
Call QAccessible::updateAccessibility when caret moves in QTextEdit
Change-Id: I3b9e5d8e67b4928558b642a4d23aa60ae9dfde60
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index ba173dff81..768217c008 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -1583,6 +1583,8 @@ void tst_QAccessibility::textEditTest() edit.setTextCursor(c); QAccessibleTextSelectionEvent sel(&edit, 2, 4); QVERIFY_EVENT(&sel); + QAccessibleTextCursorEvent cursor(&edit, 4); + QVERIFY_EVENT(&cursor); edit.selectAll(); int end = edit.textCursor().position(); |