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
def focus_previous(self): ret = Menu.focus_previous(self) if ret: self._browse_selected() return ret