From cb7b38790f8019ee2b39b45c4537ac4af2b810fb Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 17 Aug 2010 15:40:00 +0200 Subject: [PATCH] QmlJSEditor: QuickToolBar stays visible on wheelEvent The mouse wheel should not hide the QuickToolBar --- src/plugins/qmljseditor/qmljseditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp index d4e6fd9e1a4..db965034d0b 100644 --- a/src/plugins/qmljseditor/qmljseditor.cpp +++ b/src/plugins/qmljseditor/qmljseditor.cpp @@ -1464,7 +1464,7 @@ void QmlJSTextEditor::wheelEvent(QWheelEvent *event) BaseTextEditor::wheelEvent(event); if (visible) - m_contextPane->apply(editableInterface(), m_semanticInfo.document, m_semanticInfo.snapshot, m_semanticInfo.declaringMemberNoProperties(position()), true); + m_contextPane->apply(editableInterface(), m_semanticInfo.document, m_semanticInfo.snapshot, m_semanticInfo.declaringMemberNoProperties(position()), false, true); } void QmlJSTextEditor::resizeEvent(QResizeEvent *event)