diff --git a/src/Qt5/imports/FluentUI/Controls/FluTableView.qml b/src/Qt5/imports/FluentUI/Controls/FluTableView.qml index e2584043..e5e391ba 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluTableView.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluTableView.qml @@ -257,7 +257,7 @@ Rectangle { onReleased: { } onDoubleClicked:{ - if(display instanceof Component){ + if(typeof(display) == "object"){ return } item_loader.sourceComponent = d.obtEditDelegate(column,row,item_table) diff --git a/src/Qt6/imports/FluentUI/Controls/FluTableView.qml b/src/Qt6/imports/FluentUI/Controls/FluTableView.qml index df649490..6fbbd2cb 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluTableView.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluTableView.qml @@ -268,7 +268,7 @@ Rectangle { table_view.interactive = true } onDoubleClicked:{ - if(display instanceof Component){ + if(typeof(display) == "object"){ return } item_loader.sourceComponent = d.obtEditDelegate(column,row)