Don't send the same Input event twice to QGraphicsProxyWidget::inputMethodEvent
Task-number: QTBUG-30705 Change-Id: I6fa02807255d0abf74aa38e94662bbe3d9e642bb Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
parent
e7e360f046
commit
252cba3cd5
@ -825,7 +825,9 @@ bool QGraphicsProxyWidget::event(QEvent *event)
|
||||
}
|
||||
case QEvent::InputMethod: {
|
||||
inputMethodEvent(static_cast<QInputMethodEvent *>(event));
|
||||
break;
|
||||
if (event->isAccepted())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
case QEvent::ShortcutOverride: {
|
||||
QWidget *focusWidget = d->widget->focusWidget();
|
||||
|
Loading…
x
Reference in New Issue
Block a user