This commit is contained in:
kepler155c
2018-10-27 23:16:16 -04:00
parent 57e7a574c4
commit dc6af1d0c3
4 changed files with 44 additions and 9 deletions

View File

@@ -359,8 +359,7 @@ function machineWizard.wizard:eventHandler(event)
self.pages.general.index = 1
self.pages.confirmation.index = 2
for k, page in pairs(self.pages) do
debug(k)
for _, page in pairs(self.pages) do
if not page.index and page:isValidFor(self.parent.machine) then
page.index = index
index = index + 1