From: Youness Alaoui Date: Wed, 31 Dec 2014 05:03:45 +0000 (-0500) Subject: Do not raise the window on focus for windows/linux X-Git-Tag: 14.09-1.18~5^2~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f7cd424e0e02b311771f7e3df603635e6eeae32a;p=cura.git Do not raise the window on focus for windows/linux This fixes issue #65 --- diff --git a/Cura/gui/app.py b/Cura/gui/app.py index 996ab670..a0bfd57a 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -78,9 +78,10 @@ class CuraApp(wx.App): pass def OnActivate(self, e): - if e.GetActive(): - self.GetTopWindow().Raise() - e.Skip() + if platform.system() == "Darwin": + if e.GetActive(): + self.GetTopWindow().Raise() + e.Skip() def Win32SocketListener(self, port): import socket