Browse Source

remove leftover, don't eagerly set wizard pages to not visible

patch-4
Sander van Grieken 3 years ago
parent
commit
e04dbe1eff
  1. 6
      electrum/gui/qml/components/wizard/Wizard.qml

6
electrum/gui/qml/components/wizard/Wizard.qml

@ -29,11 +29,7 @@ Dialog {
pages.takeItem(pages.currentIndex+1).destroy()
}
var page = comp.createObject(pages, {
'visible': Qt.binding(function() {
return pages.currentItem === this
})
})
var page = comp.createObject(pages)
page.validChanged.connect(function() {
pages.pagevalid = page.valid
} )

Loading…
Cancel
Save