1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-01 23:53:48 +02:00

Bug 2276 - Screenshot tool either fails, or may capture the wrong screenshot

This commit is contained in:
James Crook 2020-02-17 22:50:56 +00:00
parent 970061483b
commit 38f77e5820
3 changed files with 5 additions and 0 deletions

View File

@ -677,6 +677,7 @@ void ScreenshotBigDialog::OnCaptureSomething(wxCommandEvent & event)
ScreenshotCommand::kfullscreen,
ScreenshotCommand::kselectionbar,
ScreenshotCommand::kspectralselection,
ScreenshotCommand::ktimer,
ScreenshotCommand::ktools,
ScreenshotCommand::ktransport,
ScreenshotCommand::kmixer,

View File

@ -64,6 +64,7 @@ kCaptureWhatStrings[ ScreenshotCommand::nCaptureWhats ] =
{ XO("Preferences") },
{ XO("Selectionbar") },
{ wxT("SpectralSelection"), XO("Spectral Selection") },
{ XO("Timer") },
{ XO("Tools") },
{ XO("Transport") },
{ XO("Mixer") },
@ -868,6 +869,8 @@ bool ScreenshotCommand::Apply(const CommandContext & context)
return CaptureToolbar(context, &toolManager, SelectionBarID, mFileName);
case kspectralselection:
return CaptureToolbar(context, &toolManager, SpectralSelectionBarID, mFileName);
case ktimer:
return CaptureToolbar(context, &toolManager, TimeBarID, mFileName);
case ktools:
return CaptureToolbar(context, &toolManager, ToolsBarID, mFileName);
case ktransport:

View File

@ -51,6 +51,7 @@ public:
kpreferences,
kselectionbar,
kspectralselection,
ktimer,
ktools,
ktransport,
kmixer,