~tigefa/retext/retext

« back to all changes in this revision

Viewing changes to ReText/window.py

  • Committer: Dmitry Shachnev
  • Date: 2014-02-21 14:15:13 UTC
  • Revision ID: git-v1:419ffcd225b2126bcd706e738e41a4bda84d99cf
Fix the previous commit to use the file name, not dir name

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
                        if textedit:
737
737
                                pb.setHtml(html)
738
738
                        else:
739
 
                                pb.setHtml(html, QUrl.fromLocalFile(QDir.currentPath()))
 
739
                                pb.setHtml(html, QUrl.fromLocalFile(self.fileNames[self.ind]))
740
740
                if self.font and textedit:
741
741
                        pb.document().setDefaultFont(self.font)
742
742
                if textedit: