mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
Projucer: Fixed a bug in the GUI builder's relative #include path when adding Viewport content
This commit is contained in:
parent
a4c51494bf
commit
783b6b7baf
1 changed files with 3 additions and 4 deletions
|
|
@ -152,10 +152,9 @@ public:
|
|||
|
||||
if (doc != nullptr)
|
||||
{
|
||||
code.includeFilesCPP.add (doc->getHeaderFile()
|
||||
.getRelativePathFrom (code.document->getCppFile().getParentDirectory())
|
||||
.replaceCharacter ('\\', '/'));
|
||||
|
||||
code.includeFilesCPP.add (File::createFileWithoutCheckingPath (doc->getHeaderFile()
|
||||
.getRelativePathFrom (code.document->getCppFile().getParentDirectory())
|
||||
.replaceCharacter ('\\', '/')));
|
||||
classNm = doc->getClassName();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue