mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
FilenameComponent: if partial filenames are entered, these get interpreted relative to the CWD.
This commit is contained in:
parent
91d08bb7af
commit
f43abb9757
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ void FilenameComponent::fileDragExit (const StringArray&)
|
|||
//==============================================================================
|
||||
File FilenameComponent::getCurrentFile() const
|
||||
{
|
||||
File f (filenameBox.getText());
|
||||
File f (File::getCurrentWorkingDirectory().getChildFile (filenameBox.getText()));
|
||||
|
||||
if (enforcedSuffix.isNotEmpty())
|
||||
f = f.withFileExtension (enforcedSuffix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue