示例#1
0
 def focus_previous(self):
     if self.active_list == 'main_list':
         return False
     elif self.active_list == 'options_list' and not self['center_list']:
         log.debug('PREV with center hop')
         self.active_list = 'main_list'
     else:
         Menu.focus_previous(self)
     return None
示例#2
0
 def focus_previous(self):
     ret = Menu.focus_previous(self)
     if ret:
         self._browse_selected()
     return ret