remove leftover, don't eagerly set wizard pages to not visible
This commit is contained in:
@@ -29,11 +29,7 @@ Dialog {
|
|||||||
pages.takeItem(pages.currentIndex+1).destroy()
|
pages.takeItem(pages.currentIndex+1).destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
var page = comp.createObject(pages, {
|
var page = comp.createObject(pages)
|
||||||
'visible': Qt.binding(function() {
|
|
||||||
return pages.currentItem === this
|
|
||||||
})
|
|
||||||
})
|
|
||||||
page.validChanged.connect(function() {
|
page.validChanged.connect(function() {
|
||||||
pages.pagevalid = page.valid
|
pages.pagevalid = page.valid
|
||||||
} )
|
} )
|
||||||
|
|||||||
Reference in New Issue
Block a user