forked from qt-creator/qt-creator
QmlJSEditor: QuickToolBar stays visible on wheelEvent
The mouse wheel should not hide the QuickToolBar
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user