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
|
visible: checker.available
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (component === "")
|
if (component === "" || !interfaceFactory)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var obj = interfaceFactory.create(checker.device.id());
|
var obj = interfaceFactory.create(checker.device.id());
|
||||||
|
|
Loading…
Reference in a new issue