summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Tröscher <fritz_van_tom@hotmail.com>2011-09-20 21:19:46 +0200
committerJohannes Tröscher <fritz_van_tom@hotmail.com>2011-09-20 21:19:46 +0200
commit0b45d81491e57dd3849d64c479c071568c4751ae (patch)
tree6a6746d66bc0f58a0604badb3d241b0327b0e847
parentAdded a combobox with middleclick options "autoscroll", "pasteAndGo" and (diff)
downloadrekonq-0b45d81491e57dd3849d64c479c071568c4751ae.tar.xz
check if there's an input field under the cursor in pastAndGo action on webview
REVIEWED-BY: trustMe
-rw-r--r--src/webview.cpp2
1 files changed, 1 insertions, 1 deletions
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();