fix a couple of crashes on pressing escape
This commit is contained in:
parent
a207eb05c4
commit
f9c1b4294f
|
@ -57,7 +57,7 @@ class GuidedFilesystemView(BaseView):
|
|||
def guided(self, btn):
|
||||
self.controller.guided()
|
||||
|
||||
def cancel(self, btn):
|
||||
def cancel(self, btn=None):
|
||||
self.controller.cancel()
|
||||
|
||||
|
||||
|
@ -83,7 +83,7 @@ class GuidedDiskSelectionView(BaseView):
|
|||
])
|
||||
super().__init__(lb)
|
||||
|
||||
def cancel(self, btn):
|
||||
def cancel(self, btn=None):
|
||||
self.controller.default()
|
||||
|
||||
def choose_disk(self, btn, disk):
|
||||
|
|
Loading…
Reference in New Issue