mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added error callback dispatching to AudioDeviceManager.
This commit is contained in:
parent
d830f6c5d4
commit
01be101f41
4 changed files with 81 additions and 79 deletions
|
|
@ -100,7 +100,8 @@ void FilenameComponent::setDefaultBrowseTarget (const File& newDefaultDirectory)
|
|||
void FilenameComponent::buttonClicked (Button*)
|
||||
{
|
||||
#if JUCE_MODAL_LOOPS_PERMITTED
|
||||
FileChooser fc (TRANS("Choose a new file"),
|
||||
FileChooser fc (isDir ? TRANS ("Choose a new directory")
|
||||
: TRANS ("Choose a new file"),
|
||||
getCurrentFile() == File::nonexistent ? defaultBrowseFile
|
||||
: getCurrentFile(),
|
||||
wildcard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue