diff --git a/mac/Info.plist b/mac/Info.plist
index 57e90cc83..7ea84e718 100644
--- a/mac/Info.plist
+++ b/mac/Info.plist
@@ -201,6 +201,18 @@
CFBundleTypeRole
Editor
+
+ CFBundleTypeExtensions
+
+ ny
+
+ CFBundleTypeIconFile
+ AudacityProject.icns
+ CFBundleTypeName
+ Nyquist Plug-in File
+ CFBundleTypeRole
+ Shell
+
CFBundleExecutable
AUDACITY_EXECUTABLE
diff --git a/src/PluginManager.cpp b/src/PluginManager.cpp
index cd319eb00..b8929593c 100644
--- a/src/PluginManager.cpp
+++ b/src/PluginManager.cpp
@@ -1847,6 +1847,8 @@ bool PluginManager::DropFile(const wxString &fileName)
) );
for (const auto &id : ids)
mPlugins[id].SetEnabled(enable);
+ // Make changes to enabled status persist:
+ this->Save();
}
return true;
diff --git a/src/Project.cpp b/src/Project.cpp
index af9b6feae..47f038024 100644
--- a/src/Project.cpp
+++ b/src/Project.cpp
@@ -461,16 +461,6 @@ public:
for (const auto &name : sortednames) {
-#ifdef EXPERIMENTAL_DRAG_DROP_PLUG_INS
- // Is it a plug-in?
- if (PluginManager::Get().DropFile(name)) {
- mProject->RebuildAllMenuBars();
- continue;
- }
-
- // No, so import.
-#endif
-
if (Importer::IsMidi(name))
AudacityProject::DoImportMIDI(mProject, name);
else
@@ -3043,12 +3033,24 @@ void AudacityProject::OpenFile(const wxString &fileNameArg, bool addtohistory)
// FIXME: //v Surely we could be smarter about this, like checking much earlier that this is a .aup file.
if (temp.Mid(0, 6) != wxT("RebuildAllMenuBars();
+ }
+ else
+ // No, so import.
+#endif
+
+ {
+ if (Importer::IsMidi(fileName))
+ DoImportMIDI(this, fileName);
+ else
+ Import(fileName);
+
+ ZoomAfterImport(nullptr);
+ }
return;
}