From: Ilya Kulakov Date: Thu, 13 Dec 2012 08:51:45 +0000 (+0700) Subject: Do not import splashScreen when platform is darwin. X-Git-Tag: 13.03~152^2~1^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=009364ad6ab6d56ff27c62a85cb08e3d19062a7c;p=cura.git Do not import splashScreen when platform is darwin. --- diff --git a/Cura/gui/app.py b/Cura/gui/app.py index cd7a2e84..ef5856e8 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -10,7 +10,6 @@ import warnings #Only import the _core to save import time import wx._core -from Cura.gui import splashScreen from Cura.util import profile class CuraApp(wx.App): @@ -27,6 +26,7 @@ class CuraApp(wx.App): #Do not show a splashscreen on OSX, as by Apple guidelines self.afterSplashCallback() else: + from Cura.gui import splashScreen self.splash = splashScreen.splashScreen(self.afterSplashCallback) def MacOpenFile(self, path):