bug-fix found in code review

This commit is contained in:
Anthony J. Thibault 2016-12-16 09:57:12 -08:00
parent 5441d33a25
commit 3610beb2cd

View file

@ -43,8 +43,9 @@ Item {
var index = findButtonIndex(properties.uuid);
if (index < 0) {
console.log("Warning: Tablet.qml could not find button with uuid = " + properties.uuid);
} else {
flowMain.children[index].destroy();
}
flowMain.children[index].destroy();
}
Rectangle {