fixing html visibility in live mode
This commit is contained in:
parent
e80f0216ae
commit
ffb4da1432
2 changed files with 4 additions and 4 deletions
|
@ -49,9 +49,9 @@ Item {
|
||||||
Presenter.Slide {
|
Presenter.Slide {
|
||||||
id: presentationSlide
|
id: presentationSlide
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
imageSource: SlideObj.imageBackground
|
imageSource: SlideObj.imageBackground.endsWith(".html") ? "" : SlideObj.imageBackground
|
||||||
webSource: SlideObj.html
|
webSource: SlideObj.imageBackground.endsWith(".html") ? SlideObj.imageBackground : ""
|
||||||
htmlVisible: SlideObj.html.endsWith(".html")
|
htmlVisible: SlideObj.imageBackground.endsWith(".html")
|
||||||
videoSource: presentationWindow.visible ? SlideObj.videoBackground : ""
|
videoSource: presentationWindow.visible ? SlideObj.videoBackground : ""
|
||||||
audioSource: SlideObj.audio
|
audioSource: SlideObj.audio
|
||||||
text: SlideObj.text
|
text: SlideObj.text
|
||||||
|
|
|
@ -179,7 +179,7 @@ Item {
|
||||||
visible: htmlVisible
|
visible: htmlVisible
|
||||||
onLoadingChanged: {
|
onLoadingChanged: {
|
||||||
if (loadRequest.status == 2)
|
if (loadRequest.status == 2)
|
||||||
showPassiveNotification("YAHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!");
|
showPassiveNotification("yahoo?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue