Commit 00603f927a57d2c1a3a3a262ca3b2eafdf5726f7

Authored by Thiago Franco de Moraes
1 parent 6f4166cd

Open getting started pdf on mac

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
invesalius/gui/frame.py
@@ -463,6 +463,8 @@ class Frame(wx.Frame): @@ -463,6 +463,8 @@ class Frame(wx.Frame):
463 """ 463 """
464 path = os.path.join(const.DOC_DIR, 464 path = os.path.join(const.DOC_DIR,
465 "user_guide_pt_BR.pdf") 465 "user_guide_pt_BR.pdf")
  466 + if sys.platform == 'darwin':
  467 + path = r'file://' + path
466 webbrowser.open(path) 468 webbrowser.open(path)
467 469
468 def ShowImportDicomPanel(self): 470 def ShowImportDicomPanel(self):