summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-12-27 07:08:10 +0900
committerkali <kali@leap.se>2012-12-27 07:08:10 +0900
commitb2e1e26e182bc86e01440ab3a93d3953f1fbcb4b (patch)
treeb731e31bc8ba7617634fb3f1c65ddfcdc89085cb /src/leap/app.py
parentb4af406e6cf233d939e3dfa5b5c9b2241b6d8ea0 (diff)
fix window not raising to front in osx
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index 334b58c8..7b8ac3cd 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -108,6 +108,8 @@ def main():
# if not, it will be set visible
# from the systray menu.
window.show()
+ if sys.platform == "darwin":
+ window.raise_()
# run main loop
sys.exit(app.exec_())