mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Bug 1302 - Metadata Editor should be disabled for (external program) in Export Multiple, as in straight export
This commit is contained in:
parent
de468afd8d
commit
f9e58e5b4b
@ -794,6 +794,9 @@ ProgressResult ExportMultiple::ExportMultipleByLabel(bool byName,
|
|||||||
// let the user have a crack at editing it, exit if cancelled
|
// let the user have a crack at editing it, exit if cancelled
|
||||||
auto &settings = ProjectSettings::Get( *mProject );
|
auto &settings = ProjectSettings::Get( *mProject );
|
||||||
bool bShowTagsDialog = settings.GetShowId3Dialog();
|
bool bShowTagsDialog = settings.GetShowId3Dialog();
|
||||||
|
|
||||||
|
bShowTagsDialog = bShowTagsDialog && mPlugins[mPluginIndex]->GetCanMetaData(mSubFormatIndex);
|
||||||
|
|
||||||
if( bShowTagsDialog ){
|
if( bShowTagsDialog ){
|
||||||
bool bCancelled = !setting.filetags.ShowEditDialog(
|
bool bCancelled = !setting.filetags.ShowEditDialog(
|
||||||
ProjectWindow::Find( mProject ),
|
ProjectWindow::Find( mProject ),
|
||||||
@ -914,6 +917,9 @@ ProgressResult ExportMultiple::ExportMultipleByTrack(bool byName,
|
|||||||
// let the user have a crack at editing it, exit if cancelled
|
// let the user have a crack at editing it, exit if cancelled
|
||||||
auto &settings = ProjectSettings::Get( *mProject );
|
auto &settings = ProjectSettings::Get( *mProject );
|
||||||
bool bShowTagsDialog = settings.GetShowId3Dialog();
|
bool bShowTagsDialog = settings.GetShowId3Dialog();
|
||||||
|
|
||||||
|
bShowTagsDialog = bShowTagsDialog && mPlugins[mPluginIndex]->GetCanMetaData(mSubFormatIndex);
|
||||||
|
|
||||||
if( bShowTagsDialog ){
|
if( bShowTagsDialog ){
|
||||||
bool bCancelled = !setting.filetags.ShowEditDialog(
|
bool bCancelled = !setting.filetags.ShowEditDialog(
|
||||||
ProjectWindow::Find( mProject ),
|
ProjectWindow::Find( mProject ),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user