~emihalac/mnemosyne-proj/mnemosyne-proj

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/upgrades/upgrade1.py

  • Committer: Peter Bienstman
  • Date: 2017-03-24 18:40:39 UTC
  • Revision ID: peter.bienstman@ugent.be-20170324184039-cbecoelgmdu72iag
Study mode bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
        for format in self.component_manager.all("file_format"):
150
150
            if format.__class__.__name__ == "Mnemosyne1Mem":
151
151
                format.do_import(old_database)
152
 
                self.review_controller().reset()
 
152
                self.controller().reset_study_mode()
153
153
        # Give info to the user.
154
154
        info = _("Upgrade from Mnemosyne 1.x complete!") + "\n\n"
155
155
        info += _("Mnemosyne 2.x now stores its data here:") + "\n\n"