ClassView: Reparse the tree when files are removed

In order to refresh GUI, call reparse after files are removed.

Task-number: QTCREATORBUG-25317
Change-Id: I8f29c042c9002587dd791800597af0e42e19856e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2021-02-17 18:36:11 +01:00
parent fabd449236
commit aeac17ecf5

View File

@@ -351,6 +351,7 @@ void Parser::removeFiles(const QStringList &fileList)
for (auto it = d->m_projectCache.begin(); it != d->m_projectCache.end(); ++it) for (auto it = d->m_projectCache.begin(); it != d->m_projectCache.end(); ++it)
it.value().fileList.removeOne(name); it.value().fileList.removeOne(name);
} }
requestCurrentState();
} }
/*! /*!