Skip to content

Commit

Permalink
Merge branch 'pr/578'
Browse files Browse the repository at this point in the history
  • Loading branch information
msiniscalchi committed Nov 15, 2015
2 parents bbdf806 + 0aa83a5 commit a5771f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makePDF.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def run(self, cmd="", file_regex="", path=""):
else: # either it's the first time we run, or else we have no running processes
self.proc = None

view = self.window.active_view()
view = self.view = self.window.active_view()

self.file_name = getTeXRoot.get_tex_root(view)
if not os.path.isfile(self.file_name):
Expand Down Expand Up @@ -417,7 +417,7 @@ def do_finish(self, can_switch_to_pdf):
# self.output_view.end_edit(edit)
self.output_view.run_command("do_finish_edit")
if can_switch_to_pdf:
self.window.active_view().run_command("jump_to_pdf", {"from_keybinding": False})
self.view.run_command("jump_to_pdf", {"from_keybinding": False})


class DoOutputEditCommand(sublime_plugin.TextCommand):
Expand Down

0 comments on commit a5771f5

Please sign in to comment.