diff --git a/src/widgets/widgets/qlineedit_p.cpp b/src/widgets/widgets/qlineedit_p.cpp index abaf5f3dd5..188da49b8a 100644 --- a/src/widgets/widgets/qlineedit_p.cpp +++ b/src/widgets/widgets/qlineedit_p.cpp @@ -143,6 +143,9 @@ void QLineEditPrivate::_q_selectionChanged() } emit q->selectionChanged(); +#ifndef QT_NO_ACCESSIBILITY + QAccessible::updateAccessibility(q, 0, QAccessible::TextSelectionChanged); +#endif } void QLineEditPrivate::_q_updateNeeded(const QRect &rect)