|
@ -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 |
|
|
} ) |
|
|
} ) |
|
|