diff options
-rw-r--r-- | examples/qmlbars/qml/qmlbars/main.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qmlbars/qml/qmlbars/main.qml b/examples/qmlbars/qml/qmlbars/main.qml index 6f44fe63..f2278d83 100644 --- a/examples/qmlbars/qml/qmlbars/main.qml +++ b/examples/qmlbars/qml/qmlbars/main.qml @@ -72,6 +72,8 @@ Item { var currentColRole = graphData.model.get(i).month if (currentRowRole === rowRole && currentColRole === colRole) { tableView.currentRow = i + tableView.selection.clear() + tableView.selection.select(i) break } } |