From 5f3e79f8c64ba436960372d4e6b87b1cac1ff2ed Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 12 Jun 2020 13:12:31 +1200 Subject: [PATCH] fix crash on opening a help topic when a help topic is already open --- subiquity/ui/views/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquity/ui/views/help.py b/subiquity/ui/views/help.py index f2e5b5d8..032e160b 100644 --- a/subiquity/ui/views/help.py +++ b/subiquity/ui/views/help.py @@ -404,7 +404,7 @@ class HelpMenu(PopUpLauncher): # We don't let help dialogs pile up: if one is already # showing, remove it before showing the new one. if self.current_help: - self.app.remove_global_overlay(self.parent.current_help) + self.app.remove_global_overlay(self.current_help) self.current_help = stretchy fp, ui.pile.focus_position = ui.pile.focus_position, 1