From b2d0975ed7bc9f2878eea45f583e09006d37ccd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Mon, 3 Jul 2023 18:44:43 +0800 Subject: [PATCH] update --- src/imports/FluentUI/Controls/FluTableView.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/imports/FluentUI/Controls/FluTableView.qml b/src/imports/FluentUI/Controls/FluTableView.qml index fe5a9997..d2ca7ddc 100644 --- a/src/imports/FluentUI/Controls/FluTableView.qml +++ b/src/imports/FluentUI/Controls/FluTableView.qml @@ -232,6 +232,9 @@ Rectangle { closeEditor() table_view.interactive = false } + onCanceled: { + table_view.interactive = true + } onReleased: { table_view.interactive = true } @@ -290,12 +293,7 @@ Rectangle { } SelectionRectangle { id:selection_rect - target: { - if(item_loader.sourceComponent){ - return null - } - return table_view - } + target: table_view bottomRightHandle:com_handle topLeftHandle: com_handle onDraggingChanged: {