diff --git a/src/Qt5/imports/FluentUI/Controls/FluTableView.qml b/src/Qt5/imports/FluentUI/Controls/FluTableView.qml index a5505576..b76bc110 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluTableView.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluTableView.qml @@ -549,18 +549,16 @@ Rectangle { hoverEnabled: true visible: !(columnObject.width === columnObject.minimumWidth && columnObject.width === columnObject.maximumWidth && columnObject.width) cursorShape: Qt.SplitHCursor + preventStealing: true onPressed : (mouse)=>{ - header_horizontal.interactive = false FluTools.setOverrideCursor(Qt.SplitHCursor) clickPos = Qt.point(mouse.x, mouse.y) } onReleased:{ - header_horizontal.interactive = true FluTools.restoreOverrideCursor() } onCanceled: { - header_horizontal.interactive = true FluTools.restoreOverrideCursor() } onPositionChanged: @@ -685,6 +683,7 @@ Rectangle { anchors.bottom: parent.bottom acceptedButtons: Qt.LeftButton cursorShape: Qt.SplitVCursor + preventStealing: true visible: { if(rowObject === null) return false @@ -692,16 +691,13 @@ Rectangle { } onPressed : (mouse)=>{ - header_vertical.interactive = false FluTools.setOverrideCursor(Qt.SplitVCursor) clickPos = Qt.point(mouse.x, mouse.y) } onReleased:{ - header_vertical.interactive = true FluTools.restoreOverrideCursor() } onCanceled: { - header_vertical.interactive = true FluTools.restoreOverrideCursor() } onPositionChanged: diff --git a/src/Qt6/imports/FluentUI/Controls/FluTableView.qml b/src/Qt6/imports/FluentUI/Controls/FluTableView.qml index a1b1412a..f9d7955d 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluTableView.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluTableView.qml @@ -550,18 +550,16 @@ Rectangle { hoverEnabled: true visible: !(columnObject.width === columnObject.minimumWidth && columnObject.width === columnObject.maximumWidth && columnObject.width) cursorShape: Qt.SplitHCursor + preventStealing: true onPressed : (mouse)=>{ - header_horizontal.interactive = false FluTools.setOverrideCursor(Qt.SplitHCursor) clickPos = Qt.point(mouse.x, mouse.y) } onReleased:{ - header_horizontal.interactive = true FluTools.restoreOverrideCursor() } onCanceled: { - header_horizontal.interactive = true FluTools.restoreOverrideCursor() } onPositionChanged: @@ -686,6 +684,7 @@ Rectangle { anchors.bottom: parent.bottom acceptedButtons: Qt.LeftButton cursorShape: Qt.SplitVCursor + preventStealing: true visible: { if(rowObject === null) return false @@ -693,16 +692,13 @@ Rectangle { } onPressed : (mouse)=>{ - header_vertical.interactive = false FluTools.setOverrideCursor(Qt.SplitVCursor) clickPos = Qt.point(mouse.x, mouse.y) } onReleased:{ - header_vertical.interactive = true FluTools.restoreOverrideCursor() } onCanceled: { - header_vertical.interactive = true FluTools.restoreOverrideCursor() } onPositionChanged: