Merge pull request #539 from mwhudson/dont-call-default

update a few leftover calls to controller.default()
This commit is contained in:
Michael Hudson-Doyle 2019-09-25 14:24:29 +12:00 committed by GitHub
commit cff9b057d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -103,12 +103,12 @@ class FilesystemController(BaseController):
else:
self._probe_state = ProbeState.FAILED
if self.showing:
self.default()
self.start_ui()
else:
self._probe_state = ProbeState.DONE
# Should do something here if probing found no devices.
if self.showing:
self.default()
self.start_ui()
def _check_probe_timeout(self):
log.debug("_check_probe_timeout")

View File

@ -254,7 +254,7 @@ class InstallProgressController(BaseController):
self.progress_view.set_status(('info_error',
_("An error has occurred")))
self.progress_view.show_complete(True)
self.default()
self.start_ui()
def _bg_run_command_logged(self, cmd, **kwargs):
cmd = ['systemd-cat', '--level-prefix=false',

View File

@ -533,7 +533,7 @@ class FilesystemView(BaseView):
self.show_stretchy_overlay(VolGroupStretchy(self))
def cancel(self, button=None):
self.controller.default()
self.controller.start_ui()
def reset(self, button):
self.controller.reset()

View File

@ -150,7 +150,7 @@ class GuidedDiskSelectionView(BaseView):
+ _("Choose the disk to install to:"))))
def cancel(self, btn=None):
self.controller.default()
self.controller.start_ui()
def choose_disk(self, btn, disk):
self.controller.reformat(disk)