From e04dbe1eff3badbc6b8e2fe91acf43e8a140d099 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 21 Mar 2022 18:58:30 +0100 Subject: [PATCH] remove leftover, don't eagerly set wizard pages to not visible --- electrum/gui/qml/components/wizard/Wizard.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/electrum/gui/qml/components/wizard/Wizard.qml b/electrum/gui/qml/components/wizard/Wizard.qml index c87db3c98..0792349bb 100644 --- a/electrum/gui/qml/components/wizard/Wizard.qml +++ b/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 } )