From ec28d0bf46efbb13662a9b01de5d18f87fe34145 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Sat, 23 Dec 2017 22:13:19 +0900 Subject: Block launching app when an app is launching Bug-AGL: SPEC-1214 Change-Id: I747d20ca7a6219535668fc3951a4ff9f55bcaaaf Signed-off-by: Tasuku Suzuki Signed-off-by: Tadao Tanikawa (cherry picked from commit db9f41d75fb4460f668117c69be05c4d4d4c7c7c) --- homescreen/qml/ShortcutArea.qml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'homescreen/qml/ShortcutArea.qml') diff --git a/homescreen/qml/ShortcutArea.qml b/homescreen/qml/ShortcutArea.qml index 63f8e7b..1698a88 100644 --- a/homescreen/qml/ShortcutArea.qml +++ b/homescreen/qml/ShortcutArea.qml @@ -56,21 +56,18 @@ Item { Layout.fillWidth: true Layout.fillHeight: true name: model.name - active: model.application === launcher.current + active: model.name === launcher.current onClicked: { if (0 === model.index) { appLauncherAreaLauncher.visible = true applicationArea.visible = false -// layoutHandler.hideAppLayer() - launcher.current = '' + launcher.current = 'Home' } else { pid = launcher.launch(model.application) if (1 < pid) { applicationArea.visible = true appLauncherAreaLauncher.visible = false -// layoutHandler.makeMeVisible(pid) -// layoutHandler.showAppLayer(model.application, pid) } else { console.warn(model.application) -- cgit 1.2.3-korg