1
0

qml: don't update wizard valid state from wizard pages that are not the current page

This commit is contained in:
Sander van Grieken
2023-03-27 12:01:55 +02:00
parent 229047de19
commit cc9b022089

View File

@@ -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() {