From f7cd424e0e02b311771f7e3df603635e6eeae32a Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 31 Dec 2014 00:03:45 -0500 Subject: [PATCH] Do not raise the window on focus for windows/linux This fixes issue #65 --- Cura/gui/app.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.30.2