From 15126dfb3cdfd9226d2487a97f43fcd77f02f9f3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 22 Jun 2014 23:34:19 +0200 Subject: [PATCH] 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. --- qutebrowser/widgets/webview.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qutebrowser/widgets/webview.py b/qutebrowser/widgets/webview.py index 280cd0e07..9473137ab 100644 --- a/qutebrowser/widgets/webview.py +++ b/qutebrowser/widgets/webview.py @@ -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.