summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webtab/webview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index f668e89d..4b9d3b9e 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -634,6 +634,10 @@ void WebView::mousePressEvent(QMouseEvent *event)
break;
};
+ // If Control was pressed, do not display Access Keys upon release.
+ if (ReKonfig::accessKeysEnabled() && event->modifiers() == Qt::ControlModifier)
+ m_accessKeysPressed = false;
+
KWebView::mousePressEvent(event);
}