Commit cb15af651cb411b1def676b4c3ff97c88a61ce5b
1 parent
98076742
Exists in
master
and in
6 other branches
FIX: #51. Setted 1500 to timeout in splashscreen, if setted to 1, a segmentation…
… fault occurs in linux
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/invesalius.py
@@ -44,7 +44,7 @@ class SplashScreen(wx.SplashScreen): | @@ -44,7 +44,7 @@ class SplashScreen(wx.SplashScreen): | ||
44 | bmp = wx.Image("../icons/splash_en.png").ConvertToBitmap() | 44 | bmp = wx.Image("../icons/splash_en.png").ConvertToBitmap() |
45 | wx.SplashScreen.__init__(self, bitmap=bmp, | 45 | wx.SplashScreen.__init__(self, bitmap=bmp, |
46 | splashStyle=wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT, | 46 | splashStyle=wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT, |
47 | - milliseconds=1, id=-1, parent=None) | 47 | + milliseconds=1500, id=-1, parent=None) |
48 | self.Bind(wx.EVT_CLOSE, self.OnClose) | 48 | self.Bind(wx.EVT_CLOSE, self.OnClose) |
49 | 49 | ||
50 | 50 |