From 2ec97f1456c0dea642d69a62190495ebcd63d956 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 1 May 2017 11:38:46 +0300 Subject: [PATCH] bypass internal separator when using task shortcut --- plasmoid/contents/ui/main.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plasmoid/contents/ui/main.qml b/plasmoid/contents/ui/main.qml index dc6526d72..d850806d7 100644 --- a/plasmoid/contents/ui/main.qml +++ b/plasmoid/contents/ui/main.qml @@ -1164,10 +1164,13 @@ Item { var tasks = icList.contentItem.children; + //! this is used to bypass the internal separator if it exists + var confirmedIndex = root.hasInternalSeparator && (index>=root.internalSeparatorPos) ? index+1 : index; + for(var i=0; i=root.internalSeparatorPos) ? index+1 : index; + for(var i=0; i