Commit bd9a96b6 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Properly fix color-picking-after-ctrl-z bug

The ShortcutOverride event is always followed by KeyPress
event so there is no need to process both of them.

BUG:329018
parent 896ba64f
......@@ -564,7 +564,7 @@ bool KisInputManager::eventFilter(QObject* object, QEvent* event)
event->setAccepted(retval);
break;
}
case QEvent::KeyPress: {
case QEvent::ShortcutOverride: {
if (d->logTabletEvents) qDebug() << "KeyPress";
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
Qt::Key key = d->workaroundShiftAltMetaHell(keyEvent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment