fixed loading of extra mpv window
This commit is contained in:
parent
38c5e6d1d4
commit
8b9bcd5a89
2 changed files with 3 additions and 1 deletions
|
@ -131,7 +131,9 @@ Controls.Page {
|
||||||
SlideObject.changeSlide(item);
|
SlideObject.changeSlide(item);
|
||||||
|
|
||||||
if (item.backgroundType === "video")
|
if (item.backgroundType === "video")
|
||||||
|
{
|
||||||
presentation.loadVideo();
|
presentation.loadVideo();
|
||||||
|
}
|
||||||
|
|
||||||
presentation.textIndex = 0;
|
presentation.textIndex = 0;
|
||||||
presentation.changeSlide();
|
presentation.changeSlide();
|
||||||
|
|
|
@ -34,7 +34,7 @@ Window {
|
||||||
id: presentationSlide
|
id: presentationSlide
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
imageSource: SlideObject.imageBackground
|
imageSource: SlideObject.imageBackground
|
||||||
videoSource: SlideObject.videoBackground
|
videoSource: presentationWindow.visible ? SlideObject.videoBackground : null
|
||||||
text: SlideObject.text
|
text: SlideObject.text
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue