aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrikai2017-07-23 20:14:10 -0700
committerGitHub2017-07-23 20:14:10 -0700
commitc517140a51256169cdcff0a4c2d5973d5f367259 (patch)
tree7f13ee029ebbc761158f94e22335571c745a31d3 /src
parent4becfe3b51ae058dc8600abeac3d1d6b5a1eab76 (diff)
Fixes opening behind other windows on OS X
Just a quick fix, this will raise the window to the front after it's created.
Diffstat (limited to 'src')
-rw-r--r--src/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py
index 6a9a25e..8d5a769 100644
--- a/src/main.py
+++ b/src/main.py
@@ -57,6 +57,7 @@ def main():
# window.verticalLayout_2.setContentsMargins(0, topMargin, 0, 0)
main = MainWindow(window, proj)
+ window.raise_()
signal.signal(signal.SIGINT, main.cleanUp)
atexit.register(main.cleanUp)