fix crash on using f1 to open help menu
This commit is contained in:
parent
5d05a7b95e
commit
dc4db6f88c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue