webview: Fix insert mode check.

This commit is contained in:
Florian Bruhin 2014-09-08 10:23:18 +02:00
parent 25da8dd169
commit 6f22319158

View File

@ -188,7 +188,7 @@ class WebView(QWebView):
self._check_insertmode = True
return
if ((hitresult.isContentEditable() and elem.is_writable()) or
elem.is_editable(elem)):
elem.is_editable()):
log.mouse.debug("Clicked editable element!")
modeman.maybe_enter(usertypes.KeyMode.insert, 'click')
else: