summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-11-02 16:09:41 +0100
committerKali Kaneko <kali@leap.se>2017-11-02 16:09:41 +0100
commit46bb775119bf3cd92ce05aa1c74c65de2e84a458 (patch)
tree59182fb33bd809a81ef477a1d2dc2e8625f00f38
parentb01ef289572d507a1f09d5f3c26c774564d7c8af (diff)
[bug] really close if the user pushed the close button
-rw-r--r--src/leap/bitmask/gui/app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index 44d1d80f..3a4b40ab 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -263,6 +263,7 @@ class AppProxy(QObject):
"""To be exposed from the js bridge"""
global browser
if browser:
+ browser.user_closed = True
browser.close()
@pyqtSlot(str)