From 3a940466d59aa63b74e31ce4025cf80a9b1a57d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Tue, 27 Jun 2023 00:00:41 +0800 Subject: [PATCH] update --- src/imports/FluentUI/Controls/FluTableView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imports/FluentUI/Controls/FluTableView.qml b/src/imports/FluentUI/Controls/FluTableView.qml index 33ee136d..8a840533 100644 --- a/src/imports/FluentUI/Controls/FluTableView.qml +++ b/src/imports/FluentUI/Controls/FluTableView.qml @@ -242,7 +242,7 @@ Rectangle { onDoubleTapped: { selection_model.clear() for(var i=0;i<=table_view.rows;i++){ - selection_model.select(table_view.index(i,column),ItemSelectionModel.Select) + selection_model.select(table_model.index(i,column),ItemSelectionModel.Select) } } } @@ -315,7 +315,7 @@ Rectangle { onDoubleTapped: { selection_model.clear() for(var i=0;i<=columnSource.length;i++){ - selection_model.select(table_view.index(row,i),ItemSelectionModel.Select) + selection_model.select(table_model.index(row,i),ItemSelectionModel.Select) } } }