Skip to content

Commit

Permalink
fixes #784
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Dec 14, 2021
1 parent bf76d86 commit ff1fec4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/dialogs/onboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ def __quit(widget=False):
quit()

def __install_runner(self, widget):
def set_completed(result, error=False):
self.__next_page()

'''
This method ask the manager to performs its checks, then
it will install the latest runner if there is no one installed.
Expand All @@ -114,7 +117,9 @@ def __install_runner(self, widget):
RunAsync(self.pulse)
RunAsync(
task_func=self.manager.checks,
after=self.__next_page
callback=set_completed,
install_latest=True,
first_run=True
)

def __previous_page(self, widget=False):
Expand Down

0 comments on commit ff1fec4

Please sign in to comment.