qt5base-lts/tests/auto/widgets
Christian Ehrlicher f568bfce64 QTreeView: fix keyboard navigation when first or last item is disabled
The keyboard navigation did not consider the disabled state when trying
to find the new index under all circumstances. This lead to a
non-working PageUp/Down/Home/End navigation when the first or last item
was disabled or hidden.
Fix it by explicitly checking if the calculated item is hidden/enabled
and skip it in this case.

Fixes: QTBUG-44746
Fixes: QTBUG-34832
Change-Id: Ifa3b64a405e67b792db5db9d186d426fcfe183fb
Reviewed-by: David Faure <david.faure@kdab.com>
2018-12-25 10:15:29 +00:00
..
dialogs tst_QMessageBox: Modernize and simplify code 2018-12-12 13:58:16 +00:00
effects Blacklist flaky tst_QGraphicsEffect autotest on openSUSE 2018-09-24 21:13:20 +00:00
graphicsview QGraphicsProxyWidget: Don't crash within setWidget() when a child proxy has no assigned widget 2018-11-22 16:43:38 +00:00
itemviews QTreeView: fix keyboard navigation when first or last item is disabled 2018-12-25 10:15:29 +00:00
kernel Compile with QT_STRICT_ITERATORS defined 2018-11-26 07:04:24 +00:00
styles Merge remote-tracking branch 'origin/5.12' into dev 2018-12-04 09:58:43 +01:00
util Set QScroller's parent to its widget, for memory management 2018-12-08 07:18:15 +00:00
widgets Merge remote-tracking branch 'origin/5.12' into dev 2018-12-15 01:00:31 +01:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00