diff --git a/src/plugins/qmljsinspector/qmljslivetextpreview.cpp b/src/plugins/qmljsinspector/qmljslivetextpreview.cpp index 242c7be11f62a5411c294504cd8c4cd049203854..a3f5a510cb0562f1931e5efca614d5b5d80ded41 100644 --- a/src/plugins/qmljsinspector/qmljslivetextpreview.cpp +++ b/src/plugins/qmljsinspector/qmljslivetextpreview.cpp @@ -215,6 +215,7 @@ void QmlJSLiveTextPreview::documentChanged(QmlJS::Document::Ptr doc) Delta delta; m_debugIds = delta(m_previousDoc, doc, m_debugIds); + m_initialTable[doc->fileName()] = m_debugIds; m_previousDoc = doc; }