Commit 3499fcb1 authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

QML Inspector: Remove check for files being in project

Did not work e.g. for projects where non-project files are loaded.
parent 1862282b
......@@ -555,12 +555,6 @@ void QmlJSLiveTextPreview::documentChanged(QmlJS::Document::Ptr doc)
if (!core->hasContext(dbgcontext))
if (ProjectExplorer::Project *debugProject = InspectorUi::instance()->debugProject()) {
QStringList files = debugProject->files(ProjectExplorer::Project::ExcludeGeneratedFiles);
if (!files.contains(doc->fileName()))
bool experimentalWarningShown = false;
if (m_applyChangesToQmlObserver) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment