summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index c0d83042..fe88a002 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -60,7 +60,8 @@ def main():
QApplication.setQuitOnLastWindowClosed(False)
window = LeapWindow(opts)
- window.show()
+ if debug:
+ window.show()
sys.exit(app.exec_())
if __name__ == "__main__":