Esempio n. 1
0
 def focus_next(self):
     if self.browse_selected_task.running:
         self.browse_selected_task.stop()
         self._browse_selected()
     if self.active_list == 'main_list' and not self['center_list']:
         log.debug('NEXT with center hop')
         self.active_list = 'options_list'
     else:
         log.debug('NEXT without center hop')
         Menu.focus_next(self)
     return None
Esempio n. 2
0
 def focus_next(self):
     ret = Menu.focus_next(self)
     if ret and self.active_list != 'option1_list':
         self._browse_selected()
     return ret