Update the display to reflect changes by input method
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Change-Id: If3804f2a514ba4635f841de6377f2b328a4e928a Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>bb10
parent
48d39a01a7
commit
660a615a37
|
|
@ -1726,12 +1726,13 @@ void QWidgetTextControlPrivate::mouseReleaseEvent(QEvent *e, Qt::MouseButton but
|
|||
{
|
||||
Q_Q(QWidgetTextControl);
|
||||
|
||||
const QTextCursor oldSelection = cursor;
|
||||
if (sendMouseEventToInputContext(
|
||||
e, QEvent::MouseButtonRelease, button, pos, modifiers, buttons, globalPos)) {
|
||||
repaintOldAndNewSelection(oldSelection);
|
||||
return;
|
||||
}
|
||||
|
||||
const QTextCursor oldSelection = cursor;
|
||||
const int oldCursorPos = cursor.position();
|
||||
|
||||
#ifndef QT_NO_DRAGANDDROP
|
||||
|
|
|
|||
Loading…
Reference in New Issue