From 34c601754675a95b0756c5be2d3da8f8cac0e454 Mon Sep 17 00:00:00 2001 From: nikicc Date: Thu, 2 Feb 2017 10:34:27 +0100 Subject: [PATCH] CorpusViewer: Don't disable WebviewWidget for PyQt5 --- orangecontrib/text/widgets/owcorpusviewer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/orangecontrib/text/widgets/owcorpusviewer.py b/orangecontrib/text/widgets/owcorpusviewer.py index 246b21035..0061bf629 100644 --- a/orangecontrib/text/widgets/owcorpusviewer.py +++ b/orangecontrib/text/widgets/owcorpusviewer.py @@ -109,11 +109,7 @@ def __init__(self): self.doc_list.selectionModel().selectionChanged.connect(self.show_docs) # Document contents - # For PyQt5 WebEngine's setHtml grabs the focus and makes typing hard - # More info: http://stackoverflow.com/questions/36609489 - # To bypass the annoying behaviour disable the widget for WebEngine - self.doc_webview = gui.WebviewWidget(self.splitter, self, - debug=True, enabled=HAVE_WEBKIT) + self.doc_webview = gui.WebviewWidget(self.splitter, self, debug=True) self.mainArea.layout().addWidget(self.splitter)