mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
Added support of ENTER for navigation
This commit is contained in:
parent
b84194542d
commit
7fc9ba18d7
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class CListBox(ListBox):
|
|||
self._line = min(len(self._options) - 1, self._line + 1)
|
||||
self.value = self._options[self._line][1]
|
||||
|
||||
elif len(self._options) > 0 and event.key_code == ord(' '):
|
||||
elif len(self._options) > 0 and event.key_code in [ord(' '), ord('\n')] :
|
||||
global current_selected_value, current_selected_queue
|
||||
if self.queue_name == "logs":
|
||||
return event
|
||||
|
|
Loading…
Reference in a new issue