- fix: Can't goto definition of classes and namespaces displayed in the class browser on whole project mode.
This commit is contained in:
parent
e69fea634d
commit
6fe1df8e6e
1
NEWS.md
1
NEWS.md
|
@ -8,6 +8,7 @@ Red Panda C++ Version 2.4
|
||||||
- enhancement: Remove todos/bookmarks/breakpoints when deleting file from project
|
- enhancement: Remove todos/bookmarks/breakpoints when deleting file from project
|
||||||
- enhancement: Rename filenames in todos/bookmarks/breakpoints when renaming project file
|
- enhancement: Rename filenames in todos/bookmarks/breakpoints when renaming project file
|
||||||
- enhancement: Rename filenames in bookmarks/breakpoints after a file is save-ased.
|
- enhancement: Rename filenames in bookmarks/breakpoints after a file is save-ased.
|
||||||
|
- fix: Can't goto definition of classes and namespaces displayed in the class browser on whole project mode.
|
||||||
|
|
||||||
Red Panda C++ Version 2.3
|
Red Panda C++ Version 2.3
|
||||||
|
|
||||||
|
|
|
@ -400,10 +400,10 @@ PStatement ClassBrowserModel::createDummy(const PStatement& statement)
|
||||||
result->inSystemHeader = statement->inSystemHeader;
|
result->inSystemHeader = statement->inSystemHeader;
|
||||||
result->isStatic = statement->isStatic;
|
result->isStatic = statement->isStatic;
|
||||||
result->isInherited = statement->isInherited;
|
result->isInherited = statement->isInherited;
|
||||||
result->fileName = mCurrentFile;
|
result->fileName= statement->fileName;
|
||||||
result->definitionFileName = mCurrentFile;
|
result->line = statement->line;
|
||||||
result->line = 0;
|
result->definitionFileName = statement->fileName;
|
||||||
result->definitionLine = 0;
|
result->definitionLine = statement->definitionLine;
|
||||||
mDummyStatements.insert(result->fullName,result);
|
mDummyStatements.insert(result->fullName,result);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue