QmlJSEditor: QuickToolBar stays visible on wheelEvent

The mouse wheel should not hide the QuickToolBar
This commit is contained in:
Thomas Hartmann
2010-08-17 15:40:00 +02:00
parent a1f2638c5f
commit cb7b38790f

View File

@@ -1464,7 +1464,7 @@ void QmlJSTextEditor::wheelEvent(QWheelEvent *event)
BaseTextEditor::wheelEvent(event); BaseTextEditor::wheelEvent(event);
if (visible) 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) void QmlJSTextEditor::resizeEvent(QResizeEvent *event)