(self)
Change to subgroups of current root
Change to subgroups of current root
Change to subgroups of current root
def go2sub(self):
        '''Change to subgroups of current root'''

        # To prevent that a parent group is moved to a subgroup
        if (self.state == 3 and 
            self.move_object is self.groups[self.g_highlight]):
            return 

        if self.groups and self.groups[self.g_highlight].children:
            self.cur_root = self.groups[self.g_highlight]
            self.g_highlight = 0
            self.e_highlight = 0
            self.cur_win = 0
            self.sort_tables(True, False)
def go2sub ( self ) : # To prevent that a parent group is moved to a subgroup if ( self . state == 3 and self . move_object is self . groups [ self . g_highlight ] ) : return if self . groups and self . groups [ self . g_highlight ] . children : self . cur_root = self . groups [ self . g_highlight ] self . g_highlight = 0 self . e_highlight = 0 self . cur_win = 0 self . sort_tables ( True , False )