Fix wrong argument being passed into maximize component creation
It's supposed to refer to the attached property on QQC2.Overlay, not QQC2.ApplicationWindow
This commit is contained in:
@@ -282,7 +282,7 @@ Kirigami.Page {
|
||||
}
|
||||
|
||||
function onShowMaximizedMedia(index) {
|
||||
var popup = maximizeComponent.createObject(QQC2.ApplicationWindow.overlay, {
|
||||
var popup = maximizeComponent.createObject(QQC2.Overlay.overlay, {
|
||||
initialIndex: index
|
||||
})
|
||||
popup.closed.connect(() => {
|
||||
|
||||
Reference in New Issue
Block a user