diff options
Diffstat (limited to 'src/leap/bitmask/gui/app.py')
-rw-r--r-- | src/leap/bitmask/gui/app.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py index 3d380bc3..38a37c47 100644 --- a/src/leap/bitmask/gui/app.py +++ b/src/leap/bitmask/gui/app.py @@ -106,8 +106,8 @@ class BrowserWindow(QWebView): self.loadPage(self.url) self.proxy = AppProxy(self) if first else None - #self.frame.addToJavaScriptWindowObject( - # "bitmaskApp", self.proxy) + self.frame.addToJavaScriptWindowObject( + "bitmaskApp", self.proxy) icon = QtGui.QIcon() icon.addPixmap( @@ -132,9 +132,9 @@ class BrowserWindow(QWebView): url = QtCore.QUrl(web_page) # TODO -- port this to QWebEngine - #self.frame = self.page().mainFrame() - #self.frame.addToJavaScriptWindowObject( - # "bitmaskBrowser", self.bitmask_browser) + self.frame = self.page().mainFrame() + self.frame.addToJavaScriptWindowObject( + "bitmaskBrowser", self.bitmask_browser) self.load(url) def shutdown(self, *args): |