Commit 8d59b0ab authored by mae's avatar mae
Browse files

eat tooltip events when control is pressed, otherwise the tools

destroy the navigation experience
parent 7f64e11c
......@@ -1480,6 +1480,8 @@ bool BaseTextEditor::viewportEvent(QEvent *event)
} else if (event->type() == QEvent::ToolTip) {
const QHelpEvent *he = static_cast<QHelpEvent*>(event);
if (QApplication::keyboardModifiers() & Qt::ControlModifier)
return true; // eat tooltip event when control is pressed
const QPoint &pos = he->pos();
// Allow plugins to show tooltips
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment