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:
parent
dc0884c7f5
commit
37603b74e8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user