Merge pull request #748 from mwhudson/fix-install-confirmation

fix install confirmation
This commit is contained in:
Michael Hudson-Doyle 2020-05-04 18:42:35 +12:00 committed by GitHub
commit 89af2709a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -219,15 +219,15 @@ class InstallConfirmation(Stretchy):
def ok(self, sender):
self.app.confirm_install()
self.parent.remove_overlay()
if isinstance(self.parent, ProgressView):
self.parent.hide_continue()
self.app.remove_global_overlay(self)
if isinstance(self.app.ui.body, ProgressView):
self.app.ui.body.hide_continue()
self.app.next_screen()
def cancel(self, sender):
self.parent.remove_overlay()
if isinstance(self.parent, ProgressView):
self.parent.show_continue()
self.app.remove_global_overlay(self)
if isinstance(self.app.ui.body, ProgressView):
self.app.ui.body.show_continue()
running_text = _("""\