Commit 5dbbfbe2 authored by David Edmundson's avatar David Edmundson
Browse files

Move keyboard focus when clicking on a table view

BUG: 429366
parent 8f9946fa
......@@ -134,6 +134,8 @@ FocusScope {
return;
}
tableView.forceActiveFocus(Qt.MouseFocusReason)
var currentIndex = tableView.model.index(delegateUnderMouse.background.row, delegateUnderMouse.background.column)
if (tableView.selectionModel.isSelected(currentIndex) && mouse.button == Qt.RightButton) {
......
Supports Markdown
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