Merge pull request #786 from mwhudson/help-crash

fix crash on opening a help topic when a help topic is already open
This commit is contained in:
Michael Hudson-Doyle 2020-06-12 14:50:05 +12:00 committed by GitHub
commit 7314d1a197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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