mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Projucer: Don't attempt to parse empty file paths in FilePathPropertyComponent
This commit is contained in:
parent
935d1ff805
commit
a0493e67c1
1 changed files with 3 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ private:
|
|||
{
|
||||
auto pathToCheck = editor.getTextValue().toString();
|
||||
|
||||
if (pathToCheck.isEmpty())
|
||||
return;
|
||||
|
||||
//android SDK/NDK paths
|
||||
if (pathToCheck.contains ("${user.home}"))
|
||||
pathToCheck = pathToCheck.replace ("${user.home}", File::getSpecialLocation (File::userHomeDirectory).getFullPathName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue