From cc9b0220895a2f27049a64d474988a72caf5deea Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 27 Mar 2023 12:01:55 +0200 Subject: [PATCH] qml: don't update wizard valid state from wizard pages that are not the current page --- electrum/gui/qml/components/wizard/Wizard.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/gui/qml/components/wizard/Wizard.qml b/electrum/gui/qml/components/wizard/Wizard.qml index c2c38329e..add892484 100644 --- a/electrum/gui/qml/components/wizard/Wizard.qml +++ b/electrum/gui/qml/components/wizard/Wizard.qml @@ -63,6 +63,8 @@ ElDialog { Object.assign(wdata_copy, wdata) var page = comp.createObject(pages, {wizard_data: wdata_copy}) page.validChanged.connect(function() { + if (page != pages.currentItem) + return pages.pagevalid = page.valid } ) page.lastChanged.connect(function() {