~devvmh/mnemosyne-proj/pbienst

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/pyqt_ui/export_metadata_dlg.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:
46
46
        if "revision" in metadata:
47
47
            self.revision.setValue(int(metadata["revision"]))
48
48
        if "notes" in metadata:
49
 
            self.notes.setPlainText(QtCore.QString.fromUtf8(metadata["notes"]))
 
49
            self.notes.setPlainText(metadata["notes"])
50
50
 
51
51
    def set_read_only(self):
52
52
        self.card_set_name.setReadOnly(True)