~emihalac/mnemosyne-proj/mnemosyne-proj

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/pyqt_ui/tag_tree_wdgt.py

  • Committer: Peter Bienstman
  • Date: 2017-03-21 18:58:09 UTC
  • Revision ID: peter.bienstman@ugent.be-20170321185809-4pd9slxfin1y1l8t
Bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
            if self.node_items[i].checkState(0) == QtCore.Qt.Checked:
272
272
                criterion._tag_ids_forbidden.add(tag._id)
273
273
        criterion._tag_ids_active = \
274
 
            set([tag._id for tag in self.tag_for_node_item.values()])
 
274
            set([tag._id for tag in self.tag_for_node_item])
275
275
        return criterion
276
276
    
277
277
    def unchecked_to_forbidden_tags_in_criterion(self, criterion):