From 1804addb1be5990ecf0f517938118cd77a2eb937 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sun, 2 Oct 2022 07:09:19 -0500 Subject: [PATCH] fixing bug where we weren't adding the right songs to servicelist --- src/qml/presenter/Library.qml | 2 +- src/qml/presenter/PresentationWindow.qml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/qml/presenter/Library.qml b/src/qml/presenter/Library.qml index 9178605..3a8c14e 100644 --- a/src/qml/presenter/Library.qml +++ b/src/qml/presenter/Library.qml @@ -216,7 +216,7 @@ Item { target: songListItem onActiveChanged: { if (songDragHandler.drag.active) { - dragItemIndex = index; + dragItemIndex = id; dragItemTitle = title; dragItemType = "song"; dragItemBackgroundType = backgroundType; diff --git a/src/qml/presenter/PresentationWindow.qml b/src/qml/presenter/PresentationWindow.qml index 97e64d0..da35a0e 100644 --- a/src/qml/presenter/PresentationWindow.qml +++ b/src/qml/presenter/PresentationWindow.qml @@ -62,7 +62,7 @@ Window { if (presentationWindow.visible) presentationSlide.playAudio(); else - presentationWindow.stopAudio(); + presentationSlide.stopAudio(); } } @@ -71,10 +71,12 @@ Window { } function stopVideo() { + print("####I STOPPING####"); presentationSlide.stopVideo() } function pauseVideo() { presentationSlide.pauseVideo(); } + }