From 5efc9de43484e4cba0173f08001a14e1b63d5e44 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 23 Jun 2014 07:47:42 +0200 Subject: [PATCH] Add comment about leaving insertmode --- qutebrowser/widgets/webview.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qutebrowser/widgets/webview.py b/qutebrowser/widgets/webview.py index fa8daa7ba..7230dc199 100644 --- a/qutebrowser/widgets/webview.py +++ b/qutebrowser/widgets/webview.py @@ -259,6 +259,9 @@ class WebView(QWebView): log.mouse.debug("Clicked editable element!") modeman.enter('insert', 'click') else: + # We don't leave the insert mode here as _is_editable is just an + # approximation, and the user will get annoyed if insertmode is + # left with every click. log.mouse.debug("Clicked non-editable element!") def _mousepress_opentarget(self, e):