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

Bug 893 - Spectral Selection Toolbar misnamed

This commit is contained in:
James Crook
2018-03-25 19:25:35 +01:00
parent e48bd77ea2
commit eaada3a51d
8 changed files with 18 additions and 18 deletions

View File

@@ -94,7 +94,7 @@ static const wxString kCaptureWhatStrings[nCaptureWhats] =
XO("Scriptables"),
XO("Preferences"),
XO("Selectionbar"),
XO("Spectral_Selection"),
XO("Frequency_Selection"),
XO("Tools"),
XO("Transport"),
XO("Mixer"),
@@ -868,7 +868,7 @@ bool ScreenshotCommand::Apply(const CommandContext & context)
CapturePreferences(context, context.GetProject(), mFileName);
else if (mCaptureMode.IsSameAs(wxT("Selectionbar")))
return CaptureToolbar(context, context.GetProject()->GetToolManager(), SelectionBarID, mFileName);
else if (mCaptureMode.IsSameAs(wxT("Spectral_Selection")))
else if (mCaptureMode.IsSameAs(wxT("Frequency_Selection")))
return CaptureToolbar(context, context.GetProject()->GetToolManager(), SpectralSelectionBarID, mFileName);
else if (mCaptureMode.IsSameAs(wxT("Tools")))
return CaptureToolbar(context, context.GetProject()->GetToolManager(), ToolsBarID, mFileName);

View File

@@ -65,7 +65,7 @@ public:
bool Apply(const CommandContext & context) override;
// AudacityCommand overrides
wxString ManualPage() override {return wxT("Spectral_Selection");};
wxString ManualPage() override {return wxT("Frequency_Selection");};
bool bHasBottom;
bool bHasTop;