Commit 498a3e773595f6068b9f49a5a06e73645de825a9

Authored by Thiago Franco de Moraes
1 parent c24db7d3

Not crash when user tries to change the resolution when opening by command line

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/invesalius.py
@@ -178,7 +178,7 @@ class SplashScreen(wx.SplashScreen): @@ -178,7 +178,7 @@ class SplashScreen(wx.SplashScreen):
178 self.control = Controller(self.main) 178 self.control = Controller(self.main)
179 179
180 self.fc = wx.FutureCall(1, self.ShowMain) 180 self.fc = wx.FutureCall(1, self.ShowMain)
181 - parse_comand_line() 181 + wx.FutureCall(1, parse_comand_line)
182 182
183 def OnClose(self, evt): 183 def OnClose(self, evt):
184 # Make sure the default handler runs too so this window gets 184 # Make sure the default handler runs too so this window gets