~devvmh/mnemosyne-proj/pbienst

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/component_manager.py

  • Committer: Peter.Bienstman at UGent
  • Date: 2016-10-12 13:50:27 UTC
  • Revision ID: peter.bienstman@ugent.be-20161012135027-urfzlj1qszrq5hrb
Fixes for minor bugs, reported by Devin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
                for component in self.components[used_for][comp_type]:
126
126
                    if not isinstance(component, type):
127
127
                        component.deactivate()
128
 
        self.components = {}
 
128
        # Following line deactivated to work around
 
129
        # https://bugreports.qt.io/browse/QTBUG-52988                 
 
130
        #self.components = {}
129
131
        self.card_type_with_id = {}
130
132
 
131
133
    def debug(self, msg):