diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp index 7a5f3bf26c0..d1c4ce89c89 100644 --- a/src/plugins/qmljseditor/qmljseditor.cpp +++ b/src/plugins/qmljseditor/qmljseditor.cpp @@ -988,7 +988,7 @@ void QmlJSTextEditor::updateCursorPositionNow() } } setRefactorMarkers(markers); - } else { + } else if (oldNode != newNode) { QList markers; setRefactorMarkers(markers); }