1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

AUP3: Make the AUP3/AUP file types consistent

This commit is contained in:
Leland Lucius
2020-07-15 11:58:45 -05:00
parent 3954998083
commit 79b8c65f60
3 changed files with 4 additions and 4 deletions

View File

@@ -186,6 +186,8 @@ Importer::GetFileTypes( const FileNames::FileType &extraType )
if ( !extraType.extensions.empty() )
fileTypes.push_back( extraType );
else
fileTypes.push_back(FileNames::AudacityProjects);
FileNames::FileTypes l;
for(const auto &importPlugin : sImportPluginList())
@@ -194,8 +196,6 @@ Importer::GetFileTypes( const FileNames::FileType &extraType )
importPlugin->GetSupportedExtensions());
}
l.push_back({XO("AUP3 project files"), {wxT("aup3")}});
using ExtensionSet = std::unordered_set< FileExtension >;
FileExtensions allList = extraType.extensions, newList;
ExtensionSet allSet{ allList.begin(), allList.end() }, newSet;

View File

@@ -49,7 +49,7 @@
#include <map>
#define DESC XO("AUP project files")
#define DESC XO("AUP project files (*.aup)")
static const auto exts = {wxT("aup")};