Skip to content

Commit

Permalink
Wizard3: Fix bug in adding BaseInstallation steps
Browse files Browse the repository at this point in the history
Signed-off-by: Noel Power <noel.power@suse.com>
  • Loading branch information
noelpower committed Feb 8, 2023
1 parent 2ad822b commit 7eb0cbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/Wizard3.py
Expand Up @@ -34,7 +34,6 @@ def main(self):
]

self.steps = ycpbuiltins.flatten([base_installation_steps, config_steps])

if not UI.HasSpecialWidget("Wizard"):
ycpbuiltins.y2error(
"This works only with UIs that provide the wizard widget!"
Expand Down Expand Up @@ -78,9 +77,10 @@ def main(self):
UI.WizardCommand(
Term(
"AddStep",
step["label"]),
step["id"])

step["label"],
step["id"]
)
)
UI.WizardCommand(Term("AddStepHeading", "Configuration"))

for step in ycpbuiltins.foreach(config_steps):
Expand Down

0 comments on commit 7eb0cbb

Please sign in to comment.