fix crash on using f1 to open help menu

This commit is contained in:
Michael Hudson-Doyle 2020-05-06 06:39:24 +12:00
parent 5d05a7b95e
commit dc4db6f88c
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ class Subiquity(Application):
def unhandled_input(self, key):
if key == 'f1':
if not self.ui.right_icon.showing_something:
if not self.ui.right_icon.current_help:
self.ui.right_icon.open_pop_up()
elif key in ['ctrl z', 'f2']:
self.debug_shell()