From 813bd8fa0cd48cad48e2ca280bd148578ffbc378 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 1 Oct 2015 17:40:26 +0200 Subject: [PATCH] use visible = true --- containments/taskpanel/package/contents/ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containments/taskpanel/package/contents/ui/main.qml b/containments/taskpanel/package/contents/ui/main.qml index f30556c7..d0330ac8 100644 --- a/containments/taskpanel/package/contents/ui/main.qml +++ b/containments/taskpanel/package/contents/ui/main.qml @@ -55,8 +55,8 @@ PlasmaCore.ColorScope { onPositionChanged: { taskSwitcher.offset = taskSwitcher.offset - (mouse.y - oldMouseY); oldMouseY = mouse.y; - if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit) { - taskSwitcher.visibility = Window.FullScreen; + if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit && taskSwitcher.tasksCount) { + taskSwitcher.visible = true; } } onReleased: {