QuickToolBar: bugfix

If we stay inside the node we keep the text marker
This commit is contained in:
Thomas Hartmann
2010-09-01 11:54:35 +02:00
parent 36a955fa1e
commit 70e658680b

View File

@@ -988,7 +988,7 @@ void QmlJSTextEditor::updateCursorPositionNow()
}
}
setRefactorMarkers(markers);
} else {
} else if (oldNode != newNode) {
QList<TextEditor::Internal::RefactorMarker> markers;
setRefactorMarkers(markers);
}