Enter normal mode when clicking non-editable elem

This commit is contained in:
Florian Bruhin 2014-04-23 23:26:02 +02:00
parent b4b9b6c69d
commit f3db29c010

View File

@ -271,6 +271,8 @@ class BrowserTab(QWebView):
if hitresult.isContentEditable():
logging.debug("Clicked editable element!")
modemanager.enter("insert")
else:
modemanager.enter("normal")
if self._force_open_target is not None:
self._open_target = self._force_open_target