Fixed Utils.open_file_with_default_application() to gui.utils instead of Utils now. Works again.
svn: r12699
This commit is contained in:
@ -39,7 +39,7 @@ from gettext import gettext as _
|
||||
# gramps modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
from gui.utils import open_file_with_default_application
|
||||
from gen.plug import PluginManager, DocGenPlugin
|
||||
from gen.plug.docgen import BaseDoc, TextDoc, PAPER_LANDSCAPE, FONT_SANS_SERIF
|
||||
from gen.plug.docbackend import DocBackend
|
||||
@ -417,7 +417,7 @@ class LaTeXDoc(BaseDoc, TextDoc):
|
||||
self._backend.write('\n\\end{document}\n')
|
||||
self._backend.close()
|
||||
if self.open_req:
|
||||
Utils.open_file_with_default_application(self._backend.filename)
|
||||
open_file_with_default_application(self._backend.filename)
|
||||
|
||||
def end_page(self):
|
||||
"""Issue a new page command"""
|
||||
|
Reference in New Issue
Block a user