diff options
Diffstat (limited to 'src/gui/widgets/qplaintextedit.cpp')
-rw-r--r-- | src/gui/widgets/qplaintextedit.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/qplaintextedit.cpp b/src/gui/widgets/qplaintextedit.cpp index 66bf560..102e7fc 100644 --- a/src/gui/widgets/qplaintextedit.cpp +++ b/src/gui/widgets/qplaintextedit.cpp @@ -58,6 +58,7 @@ #include "private/qtextdocument_p.h" #include "qtextlist.h" #include "private/qtextcontrol_p.h" +#include "qaccessible.h" #include <qtextformat.h> #include <qdatetime.h> @@ -443,6 +444,10 @@ QPlainTextEditControl::QPlainTextEditControl(QPlainTextEdit *parent) void QPlainTextEditPrivate::_q_cursorPositionChanged() { pageUpDownLastCursorYIsValid = false; +#ifndef QT_NO_ACCESSIBILITY + Q_Q(QPlainTextEdit); + QAccessible::updateAccessibility(q, 0, QAccessible::TextCaretMoved); +#endif } void QPlainTextEditPrivate::_q_verticalScrollbarActionTriggered(int action) { |