def METHOD_NAME(self):
    super(VariantVersionsTable, self).METHOD_NAME()
    self.version_index = -1
    self.setRowCount(0)
    vh = self.verticalHeader()
    vh.setVisible(False)
    hh = self.horizontalHeader()
    hh.setVisible(False)
    self.variant = None