Browse Source

Projucer: Fixed a bug in the GUI builder's relative #include path when adding Viewport content

tags/2021-05-28
ed 7 years ago
parent
commit
783b6b7baf
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      extras/Projucer/Source/ComponentEditor/Components/jucer_ViewportHandler.h

+ 3
- 4
extras/Projucer/Source/ComponentEditor/Components/jucer_ViewportHandler.h View File

@@ -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…
Cancel
Save