From 0b45d81491e57dd3849d64c479c071568c4751ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Tr=C3=B6scher?= Date: Tue, 20 Sep 2011 21:19:46 +0200 Subject: check if there's an input field under the cursor in pastAndGo action on webview REVIEWED-BY: trustMe --- src/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview.cpp b/src/webview.cpp index 78eb7b2d..bd159bd6 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -403,7 +403,7 @@ void WebView::mousePressEvent(QMouseEvent *event) } } - if (ReKonfig::middleClickAction() == 1 && result.linkUrl().isEmpty()) + if (ReKonfig::middleClickAction() == 1 && result.linkUrl().isEmpty() && !result.isContentEditable()) { const QString clipboardContent = rApp->clipboard()->text(); -- cgit v1.2.1