core: Allow access to temp finals

main
mirkobrombin 2 years ago
parent acca495fe6
commit 70b5c41922

@ -88,6 +88,13 @@ class Builder:
if step["template"] in templates: if step["template"] in templates:
_widget = templates[step["template"]](self.__window, self.distro_info, key, step) _widget = templates[step["template"]](self.__window, self.distro_info, key, step)
self.__register_widgets.append(_widget) 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): def get_finals(self):
self.__register_finals = [] self.__register_finals = []

Loading…
Cancel
Save