Commit a972d246d61b02ad9f4777196966f1f18c4b72f3

Authored by tatiana
1 parent 60802b57

ENH: Mac drag&drop inv3 file

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
invesalius/invesalius.py
... ... @@ -136,6 +136,10 @@ class InVesalius(wx.App):
136 136  
137 137 return True
138 138  
  139 + def MacOpenFile(self, filename):
  140 + path = os.path.abspath(file)
  141 + ps.Publisher().sendMessage('Open project', path)
  142 +
139 143 def parse_comand_line():
140 144 """
141 145 Handle command line arguments.
... ...