path: root/src/gui
diff options
authorChristian Ehrlicher <>2018-09-07 21:08:48 +0200
committerChristian Ehrlicher <>2018-09-25 14:23:06 +0000
commit7fafeb4a3464f8f5dfaef77d2a0c9544c4600192 (patch)
tree7db1d3b1d247e08f1155e6c49a005b647c5a1ebe /src/gui
parentd0c159c8e306709629e3af0b83b464c5cea15754 (diff)
QTreeView: sync keyboard search behavior with other itemviews
QTreeView has a special implementation of keyboardSearch() which is not consistent to the base implementation regarding the selection behavior: - currentSelectionStartIndex is not set which results in a wrong mouse selection behavior afterwards - only the current index is set but not the current selection Sync the behavior by calling setCurrentIndex() directly in QTreeView too. One problem remains with this patch - the key handling is still different between QAbstractItemView and QTreeView for repeating key presses. Task-number: QTBUG-18862 Change-Id: Ife79d146cf16d6ecbf9f86540777dae15aa1ffb0 Reviewed-by: Friedemann Kleint <> Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions