Commit 78305673 authored by Daniel Teske's avatar Daniel Teske

Fix crash on changing project template

D'oh. This boolean needs to be set to true to have any effect.

Task-number: QTCREATORBUG-13848
Change-Id: Idb6559a9b395b3aea4f3379698914b00eb9a031d
Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
parent 64e8b8a0
......@@ -359,7 +359,7 @@ void ProjectTree::emitFilesAboutToBeRemoved(FolderNode *folder, const QList<File
if (FileNode *fileNode = dynamic_cast<FileNode *>(m_currentNode))
if (staleFiles.contains(fileNode))
m_resetCurrentNodeFile = false;
m_resetCurrentNodeFile = true;
emit filesAboutToBeRemoved(folder, staleFiles);
}
......
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