summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/app.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-03-05 00:28:58 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2017-03-05 00:28:58 +0100
commit33d28e4d4029e8e48d9a31c5894d0d5d3d3c87f7 (patch)
tree77db470b8e863a1b350c2590a7f9a632b2ec447d /src/leap/bitmask/gui/app.py
parent80f154e9f8f6a786170fe39f521a6d620a0d760b (diff)
[bug] load after exporting the object
Diffstat (limited to 'src/leap/bitmask/gui/app.py')
-rw-r--r--src/leap/bitmask/gui/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index e686498..52598cb 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -93,10 +93,10 @@ class BrowserWindow(QWebView):
web_page = os.path.relpath(web_page)
url = QtCore.QUrl(web_page)
- self.load(url)
self.frame = self.page().mainFrame()
self.frame.addToJavaScriptWindowObject(
"bitmaskBrowser", self.bitmask_browser)
+ self.load(url)
def shutdown(self, *args):
if self.closing: