mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-17 00:57:40 +02:00
Bug 2276 - Screenshot tool either fails, or may capture the wrong screenshot
This commit is contained in:
parent
970061483b
commit
38f77e5820
@ -677,6 +677,7 @@ void ScreenshotBigDialog::OnCaptureSomething(wxCommandEvent & event)
|
|||||||
ScreenshotCommand::kfullscreen,
|
ScreenshotCommand::kfullscreen,
|
||||||
ScreenshotCommand::kselectionbar,
|
ScreenshotCommand::kselectionbar,
|
||||||
ScreenshotCommand::kspectralselection,
|
ScreenshotCommand::kspectralselection,
|
||||||
|
ScreenshotCommand::ktimer,
|
||||||
ScreenshotCommand::ktools,
|
ScreenshotCommand::ktools,
|
||||||
ScreenshotCommand::ktransport,
|
ScreenshotCommand::ktransport,
|
||||||
ScreenshotCommand::kmixer,
|
ScreenshotCommand::kmixer,
|
||||||
|
@ -64,6 +64,7 @@ kCaptureWhatStrings[ ScreenshotCommand::nCaptureWhats ] =
|
|||||||
{ XO("Preferences") },
|
{ XO("Preferences") },
|
||||||
{ XO("Selectionbar") },
|
{ XO("Selectionbar") },
|
||||||
{ wxT("SpectralSelection"), XO("Spectral Selection") },
|
{ wxT("SpectralSelection"), XO("Spectral Selection") },
|
||||||
|
{ XO("Timer") },
|
||||||
{ XO("Tools") },
|
{ XO("Tools") },
|
||||||
{ XO("Transport") },
|
{ XO("Transport") },
|
||||||
{ XO("Mixer") },
|
{ XO("Mixer") },
|
||||||
@ -868,6 +869,8 @@ bool ScreenshotCommand::Apply(const CommandContext & context)
|
|||||||
return CaptureToolbar(context, &toolManager, SelectionBarID, mFileName);
|
return CaptureToolbar(context, &toolManager, SelectionBarID, mFileName);
|
||||||
case kspectralselection:
|
case kspectralselection:
|
||||||
return CaptureToolbar(context, &toolManager, SpectralSelectionBarID, mFileName);
|
return CaptureToolbar(context, &toolManager, SpectralSelectionBarID, mFileName);
|
||||||
|
case ktimer:
|
||||||
|
return CaptureToolbar(context, &toolManager, TimeBarID, mFileName);
|
||||||
case ktools:
|
case ktools:
|
||||||
return CaptureToolbar(context, &toolManager, ToolsBarID, mFileName);
|
return CaptureToolbar(context, &toolManager, ToolsBarID, mFileName);
|
||||||
case ktransport:
|
case ktransport:
|
||||||
|
@ -51,6 +51,7 @@ public:
|
|||||||
kpreferences,
|
kpreferences,
|
||||||
kselectionbar,
|
kselectionbar,
|
||||||
kspectralselection,
|
kspectralselection,
|
||||||
|
ktimer,
|
||||||
ktools,
|
ktools,
|
||||||
ktransport,
|
ktransport,
|
||||||
kmixer,
|
kmixer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user