Skip to content

Commit 4614882

Browse files
authored
Merge pull request #2 from luisbocanegra/fix-tasks-indicator-count
Fix child tasks indicator count
2 parents 509eef8 + 2db5e19 commit 4614882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/ui/Task.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ MouseArea {
412412
if(task.state === 'launcher') {
413413
return 0;
414414
}
415-
return Math.min(task.childCount + 1, maxStates);
415+
return Math.min((task.childCount === 0) ? 1 : task.childCount, maxStates);
416416
}
417417
readonly property int maxStates: isMetro ? 2 : 4
418418

0 commit comments

Comments
 (0)