(self, col)
Set the current col, updating list of available tags.
Set the current col, updating list of available tags.
Set the current col updating list of available tags .
def setCol(self, col):
        "Set the current col, updating list of available tags."
        self.col = col
        if self.type == 0:
            l = sorted(self.col.tags.all())
        else:
            l = sorted(self.col.decks.allNames())
        self.model.setStringList(l)
        self.completer.strings = l
def setCol ( self , col ) : self . col = col if self . type == 0 : l = sorted ( self . col . tags . all ( ) ) else : l = sorted ( self . col . decks . allNames ( ) ) self . model . setStringList ( l ) self . completer . strings = l