nextSlideAction triggers nextslide on last item in list
This commit is contained in:
parent
2e72a01c6f
commit
62e1b07ec1
4 changed files with 12 additions and 3 deletions
|
@ -135,6 +135,7 @@ Item {
|
|||
} else {
|
||||
print("Next slide time");
|
||||
textIndex = 0;
|
||||
previewSlide.text = "";
|
||||
nextSlide();
|
||||
}
|
||||
} else if (itemType === "video")
|
||||
|
@ -144,6 +145,8 @@ Item {
|
|||
}
|
||||
|
||||
function nextSlide() {
|
||||
currentServiceItem++;
|
||||
changeServiceItem(currentServiceItem);
|
||||
print(slideItem);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue