QQuickTableView: Don't fallthrough from tab/backtab to esc key

We probably don't want to close the editor if we didn't handle the tab
key.

Amends commit ed83f0f795.

Pick-to: 6.5
Change-Id: I11c8f52d5ec8e1b67074ebf25d4cf4b35eb6b7e8
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
Ulf Hermann 2023-01-26 14:50:49 +01:00
parent d962fe4abb
commit a6bb8a1ef4
1 changed files with 1 additions and 0 deletions

View File

@ -6263,6 +6263,7 @@ bool QQuickTableView::eventFilter(QObject *obj, QEvent *event)
}
return true;
}
break;
case Qt::Key_Escape:
closeEditor();
return true;