chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cc14a
)
Do not raise the window on focus for windows/linux
author
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Wed, 31 Dec 2014 05:03:45 +0000
(
00:03
-0500)
committer
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Wed, 31 Dec 2014 05:03:45 +0000
(
00:03
-0500)
This fixes issue #65
Cura/gui/app.py
patch
|
blob
|
history
diff --git
a/Cura/gui/app.py
b/Cura/gui/app.py
index 996ab67098916c968b54b99d0009109f17b04a05..a0bfd57a6f0f867106d7d4158d34c16a660afb8c 100644
(file)
--- 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