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:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user