summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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: