Fix warning
This commit is contained in:
parent
db2e1af179
commit
f171f76d74
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ Kirigami.BasicListItem
|
|||
}
|
||||
visible: checker.available
|
||||
onClicked: {
|
||||
if (component === "")
|
||||
if (component === "" || !interfaceFactory)
|
||||
return;
|
||||
|
||||
var obj = interfaceFactory.create(checker.device.id());
|
||||
|
|
Loading…
Reference in a new issue