- 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: the scroll behavior of mouse dragging on the editor's edge is not correct
|
||||||
- fix: calculation of caret position is not in consistence.
|
- fix: calculation of caret position is not in consistence.
|
||||||
- fix: undo one symbol completion as a whole operation
|
- 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
|
Red Panda C++ Version 0.14.4
|
||||||
- enhancement: git - log
|
- enhancement: git - log
|
||||||
|
|
|
@ -1308,8 +1308,8 @@ void Project::createFileSystemFolderNode(ProjectSpecialFolderNode folderType, co
|
||||||
continue;
|
continue;
|
||||||
if (fileInfo.isDir()) {
|
if (fileInfo.isDir()) {
|
||||||
PProjectModelNode node = makeNewFileNode(fileInfo.fileName(),true,parent);
|
PProjectModelNode node = makeNewFileNode(fileInfo.fileName(),true,parent);
|
||||||
mFileSystemFolderNodes.insert(QString("%1/%2").arg((int)folderType).arg(fileInfo.absolutePath()),node);
|
mFileSystemFolderNodes.insert(QString("%1/%2").arg((int)folderType).arg(fileInfo.absoluteFilePath()),node);
|
||||||
createFileSystemFolderNode(folderType,fileInfo.path(), node);
|
createFileSystemFolderNode(folderType,fileInfo.absoluteFilePath(), node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue