From 33d28e4d4029e8e48d9a31c5894d0d5d3d3c87f7 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Sun, 5 Mar 2017 00:28:58 +0100 Subject: [bug] load after exporting the object --- src/leap/bitmask/gui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3