code: def update_groups(self):
          
          self.groups = self.parent.channels.groups
          self.idx_group.clear()
          for gr in self.groups:
              self.idx_group.addItem(gr['name'])
  
          self.update_channels()
docs: Update the channel groups list when dialog is opened.