From: Youness Alaoui Date: Tue, 11 Aug 2015 16:59:08 +0000 (-0400) Subject: Show new dialog after main window is created, so it appears above it X-Git-Tag: lulzbot-15.02.1-2.01~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1d07db537bfa522cdc89516af8c685df65d903b3;p=cura.git Show new dialog after main window is created, so it appears above it --- diff --git a/Cura/gui/app.py b/Cura/gui/app.py index 91bea92d..ecfbc415 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -153,9 +153,7 @@ class CuraApp(wx.App): if profile.getMachineSetting('machine_name') == '': return if profile.getPreference('last_run_version') != version.getVersion(False): - profile.putPreference('last_run_version', version.getVersion(False)) profile.performVersionUpgrade() - newVersionDialog.newVersionDialog().Show() # Must happen before the main window is created, in case there are changes # that would affect it (such as machine name changes) @@ -169,6 +167,10 @@ class CuraApp(wx.App): self.mainWindow.OnDropFiles(self.loadFiles) setFullScreenCapable(self.mainWindow) + if profile.getPreference('last_run_version') != version.getVersion(False): + profile.putPreference('last_run_version', version.getVersion(False)) + newVersionDialog.newVersionDialog().Show() + # Must come after creating the main window if version.isDevVersion(): import wx.lib.inspection