Don't leave insert mode on non-insert clicks.

This proved to be a bad idea, as we only can guess what's an insert mode and
what isn't.
This commit is contained in:
Florian Bruhin 2014-06-22 23:34:19 +02:00
parent 7aea12ad35
commit 15126dfb3c

View File

@ -258,7 +258,6 @@ class WebView(QWebView):
modeman.enter('insert', 'click')
else:
log.mouse.debug("Clicked non-editable element!")
modeman.maybe_leave('insert', 'click')
def _mousepress_opentarget(self, e):
"""Set the open target when something was clicked.