mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Added a getHighlightedFile method to the FileBrowserComponent
This commit is contained in:
parent
cd88571081
commit
dad610b948
2 changed files with 14 additions and 1 deletions
|
|
@ -185,6 +185,11 @@ bool FileBrowserComponent::currentFileIsValid() const
|
|||
return false;
|
||||
}
|
||||
|
||||
const File FileBrowserComponent::getHighlightedFile() const throw()
|
||||
{
|
||||
return fileListComponent->getSelectedFile();
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
const File FileBrowserComponent::getRoot() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue