}
ListElement {
name: 'Navigation'
- application: 'controls@0.1'
+ application: 'navigation@0.1'
}
}
layoutHandler.hideAppLayer()
}
else {
- applicationArea.visible = true
- appLauncherAreaLauncher.visible = false
pid = launcher.launch(model.application)
- layoutHandler.makeMeVisible(pid)
- layoutHandler.showAppLayer()
+ if (1 < pid) {
+ applicationArea.visible = true
+ appLauncherAreaLauncher.visible = false
+ layoutHandler.makeMeVisible(pid)
+ layoutHandler.showAppLayer(pid)
+ }
+ else {
+ console.warn("app cannot be launched!")
+ }
}
}
}