Files
pallectrum/electrum/gui/qml/components/wizard/WizardComponent.qml
Sander van Grieken 15e2ed4f58 rewrite server connect wizard to new wizard style
'last' property on WizardComponents is now queried from UI, not from the wizard.
This allows the content of the WizardComponent itself to be taken into account.
2022-10-21 13:32:16 +02:00

27 lines
421 B
QML

import QtQuick 2.0
Item {
signal next
signal prev
signal accept
property var wizard_data : ({})
property bool valid
property bool last: false
property bool ready: false
onAccept: {
apply()
}
function apply() { }
function checkIsLast() {
apply()
last = wizard.wiz.isLast(wizard_data)
}
Component.onCompleted: {
checkIsLast()
}
}