mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Move menu handling functions out of class AudacityProject
This commit is contained in:
@@ -390,7 +390,9 @@ bool Exporter::Process(AudacityProject *project, bool selectedOnly, double t0, d
|
||||
|
||||
// Let user edit MetaData
|
||||
if (mPlugins[mFormat]->GetCanMetaData(mSubFormat)) {
|
||||
if (!(project->DoEditMetadata(_("Edit Metadata Tags"), _("Exported Tags"), mProject->GetShowId3Dialog()))) {
|
||||
if (!(GetMenuCommandHandler(*project).DoEditMetadata( *project,
|
||||
_("Edit Metadata Tags"), _("Exported Tags"),
|
||||
mProject->GetShowId3Dialog()))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -1031,8 +1033,9 @@ bool Exporter::SetAutoExportOptions(AudacityProject *project) {
|
||||
|
||||
// Let user edit MetaData
|
||||
if (mPlugins[mFormat]->GetCanMetaData(mSubFormat)) {
|
||||
if (!(project->DoEditMetadata(_("Edit Metadata Tags"),
|
||||
_("Exported Tags"), mProject->GetShowId3Dialog()))) {
|
||||
if (!(GetMenuCommandHandler(*project).DoEditMetadata( *project,
|
||||
_("Edit Metadata Tags"),
|
||||
_("Exported Tags"), mProject->GetShowId3Dialog()))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user