core: Allow access to temp finals

main
mirkobrombin 2 years ago
parent acca495fe6
commit 70b5c41922

@ -89,6 +89,13 @@ class Builder:
_widget = templates[step["template"]](self.__window, self.distro_info, key, step)
self.__register_widgets.append(_widget)
def get_temp_finals(self, step_id: str):
for widget in self.__register_widgets:
if widget.step_id == step_id:
return widget.get_finals()
return None
def get_finals(self):
self.__register_finals = []

Loading…
Cancel
Save