fixing bug where we weren't adding the right songs to servicelist

This commit is contained in:
Chris Cochrun 2022-10-02 07:09:19 -05:00
parent b154cca3ed
commit 1804addb1b
2 changed files with 4 additions and 2 deletions

View file

@ -216,7 +216,7 @@ Item {
target: songListItem target: songListItem
onActiveChanged: { onActiveChanged: {
if (songDragHandler.drag.active) { if (songDragHandler.drag.active) {
dragItemIndex = index; dragItemIndex = id;
dragItemTitle = title; dragItemTitle = title;
dragItemType = "song"; dragItemType = "song";
dragItemBackgroundType = backgroundType; dragItemBackgroundType = backgroundType;

View file

@ -62,7 +62,7 @@ Window {
if (presentationWindow.visible) if (presentationWindow.visible)
presentationSlide.playAudio(); presentationSlide.playAudio();
else else
presentationWindow.stopAudio(); presentationSlide.stopAudio();
} }
} }
@ -71,10 +71,12 @@ Window {
} }
function stopVideo() { function stopVideo() {
print("####I STOPPING####");
presentationSlide.stopVideo() presentationSlide.stopVideo()
} }
function pauseVideo() { function pauseVideo() {
presentationSlide.pauseVideo(); presentationSlide.pauseVideo();
} }
} }