This commit is contained in:
zhuzichu 2023-09-28 13:12:39 +08:00
parent 52c806eeff
commit a5b5a5b942
2 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ Rectangle {
onReleased: { onReleased: {
} }
onDoubleClicked:{ onDoubleClicked:{
if(display instanceof Component){ if(typeof(display) == "object"){
return return
} }
item_loader.sourceComponent = d.obtEditDelegate(column,row,item_table) item_loader.sourceComponent = d.obtEditDelegate(column,row,item_table)

View File

@ -268,7 +268,7 @@ Rectangle {
table_view.interactive = true table_view.interactive = true
} }
onDoubleClicked:{ onDoubleClicked:{
if(display instanceof Component){ if(typeof(display) == "object"){
return return
} }
item_loader.sourceComponent = d.obtEditDelegate(column,row) item_loader.sourceComponent = d.obtEditDelegate(column,row)