1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-10 04:52:41 +01:00

Fix loading of wizard elements

This commit is contained in:
Elias Steurer 2019-12-05 15:23:07 +01:00
parent 942f4186ae
commit 799b4a0138
2 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,7 @@ Item {
state = "in"
ScreenPlay.util.setNavigationActive(false)
loader_wrapperContent.setSource(
wizard.setSource(
"qrc:/qml/Create/Wizards/CreateWallpaper/CreateWallpaperVideoImportConvert.qml",
{
"filePath": createNew.filePath
@ -59,7 +59,7 @@ Item {
}
Wizard {
id:wizard
}
}

View File

@ -1,4 +1,4 @@
import QtQuick 2.12
import QtQuick 2.12
import QtGraphicalEffects 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.3
@ -14,6 +14,12 @@ Item {
anchors.fill: parent
state: "out"
function setSource(path, arguments){
loader_wrapperContent.setSource(
"qrc:/qml/Create/Wizards/CreateWallpaper/CreateWallpaperVideoImportConvert.qml",
arguments)
}
Component.onCompleted: {
state = "in"
}