Skip to content

Commit

Permalink
Merge pull request #940 from mwhudson/lp-1925068
Browse files Browse the repository at this point in the history
avoid situation where overlays can be shown twice
  • Loading branch information
mwhudson authored Apr 19, 2021
2 parents 5e02aae + 4de7f39 commit 4b5fd53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subiquity/ui/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def keypress(self, size, key):
return super().keypress(size, key)

def set_body(self, widget):
if widget is self.body:
return
super().set_body(widget)
if isinstance(widget, BaseView):
for overlay in self.app.global_overlays:
Expand Down

0 comments on commit 4b5fd53

Please sign in to comment.