1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-18 17:47:41 +02:00

incremental improvement to at least alert the user in cases where this effect obviously does nothing

This commit is contained in:
v.audacity 2013-12-15 04:10:37 +00:00
parent dc0884c7f5
commit 37603b74e8

View File

@ -161,7 +161,11 @@ bool EffectClickRemoval::ProcessOne(int count, WaveTrack * track, sampleCount st
// in the result, but no alert to the user.
if (len <= windowSize/2)
{
wxMessageBox(wxString::Format(_("Error: Selection must be larger than %d samples"), windowSize/2));
wxMessageBox(
wxString::Format(_("Selection must be larger than %d samples."), windowSize/2),
_("Click Removal"),
wxOK | wxICON_ERROR
);
return false;
}