diff --git a/src/plugins/projectexplorer/projectnodes.cpp b/src/plugins/projectexplorer/projectnodes.cpp index 800ccfc942520036b0cac1cbae6997c02e0797a1..beea4f8ae75765175c90d688c55fbc8a112d55b3 100644 --- a/src/plugins/projectexplorer/projectnodes.cpp +++ b/src/plugins/projectexplorer/projectnodes.cpp @@ -367,7 +367,7 @@ bool FolderNode::renameFile(const QString &filePath, const QString &newFilePath) FolderNode::AddNewInformation FolderNode::addNewInformation(const QStringList &files, Node *context) const { Q_UNUSED(files); - return AddNewInformation(path().fileName(), context == this ? 120 : 100); + return AddNewInformation(displayName(), context == this ? 120 : 100); } /*!