Change-Id: If5f81af8e88729c13806791c19ff72741832bee0
y: 264
onPressAndHold: currentId = applicationModel.id(newIndex = index)
onReleased: {
+ if(loc.index < 0) {
+ return
+ }
if (currentId === '') {
pid = launcher.launch(applicationModel.id(loc.index))
if (1 < pid) {
+ homescreenHandler.tapShortcut(applicationModel.name(loc.index))
}
else {
console.warn("app cannot be launched!")
} else {
currentId = ''
}
- homescreenHandler.tapShortcut(applicationModel.appid(loc.index))
}
onPositionChanged: {
if (loc.currentId === '') return