Re: fix for #9218 (not #10119)
Now it matches the example given in the docs. This time tested on qt4.
return true;
}
- case QEvent::ShortcutOverride: {
+ case QEvent::KeyPress: {
// We catch this event in order to catch the Tab or Shift+Tab key press
// which are otherwise reserved to focus switching between controls
// within a dialog.
|| (ke->key() == Qt::Key_Backtab && (
ke->modifiers() == Qt::ShiftModifier
|| ke->modifiers() == Qt::NoModifier))) {
- e->accept();
+ keyPressEvent(ke);
return true;
}
return QAbstractScrollArea::event(e);