- fix: crash when open a project that contains custom folder
This commit is contained in:
parent
b436312d19
commit
81f404d63c
1
NEWS.md
1
NEWS.md
|
@ -19,6 +19,7 @@ Red Panda C++ Version 0.14.5
|
|||
- fix: the scroll behavior of mouse dragging on the editor's edge is not correct
|
||||
- fix: calculation of caret position is not in consistence.
|
||||
- fix: undo one symbol completion as a whole operation
|
||||
- fix: crash when open a project that contains custom folder
|
||||
|
||||
Red Panda C++ Version 0.14.4
|
||||
- enhancement: git - log
|
||||
|
|
|
@ -1308,8 +1308,8 @@ void Project::createFileSystemFolderNode(ProjectSpecialFolderNode folderType, co
|
|||
continue;
|
||||
if (fileInfo.isDir()) {
|
||||
PProjectModelNode node = makeNewFileNode(fileInfo.fileName(),true,parent);
|
||||
mFileSystemFolderNodes.insert(QString("%1/%2").arg((int)folderType).arg(fileInfo.absolutePath()),node);
|
||||
createFileSystemFolderNode(folderType,fileInfo.path(), node);
|
||||
mFileSystemFolderNodes.insert(QString("%1/%2").arg((int)folderType).arg(fileInfo.absoluteFilePath()),node);
|
||||
createFileSystemFolderNode(folderType,fileInfo.absoluteFilePath(), node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue