fixing bug where we weren't adding the right songs to servicelist
This commit is contained in:
parent
b154cca3ed
commit
1804addb1b
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue