Fix warning

This commit is contained in:
Aleix Pol 2018-06-08 20:23:03 +02:00
parent db2e1af179
commit f171f76d74

View file

@ -36,7 +36,7 @@ Kirigami.BasicListItem
}
visible: checker.available
onClicked: {
if (component === "")
if (component === "" || !interfaceFactory)
return;
var obj = interfaceFactory.create(checker.device.id());