Skip to content

Commit

Permalink
qml: use visualFocus instead of activeFocus for auto text scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzun authored and robUx4 committed Jun 23, 2024
1 parent 611d55b commit 0a47412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gui/qt/widgets/qml/TableViewDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ T.Control {
rowModel: Qt.binding(() => delegate.rowModel),
colModel: Qt.binding(() => loader.modelData.model),
index: Qt.binding(() => delegate.index),
currentlyFocused: Qt.binding(() => delegate.activeFocus),
currentlyFocused: Qt.binding(() => delegate.visualFocus),
selected: Qt.binding(() => delegate.selected),
containsMouse: Qt.binding(() => hoverArea.containsMouse),
colorContext: Qt.binding(() => theme),
Expand Down

0 comments on commit 0a47412

Please sign in to comment.