mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-24 23:13:42 +02:00
Multiple export dialog bugs fixed
Bug 2062 - Export as WAV does not remember the previously used setting
Bug 1355 - "Other uncompressed files" does not (visually) update target
file extension according to the chosen "Header" type
Bug 1356 - "Other uncompressed files" forces the default extension for
the format in the exported file
Bug 1381 - Export other uncompressed formats incorrectly assumes max 255
channels
(and possibly others...not the best bugzilla searcher)
This commit is contained in:
@@ -793,3 +793,13 @@ void FileDialog::ModalFinishedCallback(void* panel, int returnCode)
|
||||
UnsubclassWin();
|
||||
[(NSSavePanel*) panel setAccessoryView:nil];
|
||||
}
|
||||
|
||||
// Change the currently displayed extension
|
||||
void FileDialog::SetFileExtension(const wxString& extension)
|
||||
{
|
||||
NSSavePanel* sPanel = (NSSavePanel*) GetWXWindow();
|
||||
m_filterExtensions[m_filterIndex] = extension;
|
||||
NSArray* types = GetTypesFromExtension(m_filterExtensions[m_filterIndex],m_currentExtensions);
|
||||
[sPanel setAllowedFileTypes:types];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user