mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
Fix overly aggressive validation
This commit is contained in:
parent
6cc7bcf384
commit
a3b1803bf0
@ -214,17 +214,23 @@ bool EffectRepeat::TransferDataFromWindow()
|
|||||||
|
|
||||||
void EffectRepeat::DisplayNewTime()
|
void EffectRepeat::DisplayNewTime()
|
||||||
{
|
{
|
||||||
TransferDataFromWindow();
|
long l;
|
||||||
|
mRepeatCount->GetValue().ToLong(&l);
|
||||||
|
|
||||||
NumericConverter nc(NumericConverter::TIME,
|
if (l > 0)
|
||||||
_("hh:mm:ss"),
|
{
|
||||||
(mT1 - mT0) * (repeatCount + 1),
|
repeatCount = l;
|
||||||
mProjectRate);
|
|
||||||
|
|
||||||
wxString str = _("New selection length: ") + nc.GetString();
|
NumericConverter nc(NumericConverter::TIME,
|
||||||
|
_("hh:mm:ss"),
|
||||||
|
(mT1 - mT0) * (repeatCount + 1),
|
||||||
|
mProjectRate);
|
||||||
|
|
||||||
mTotalTime->SetLabel(str);
|
wxString str = _("New selection length: ") + nc.GetString();
|
||||||
mTotalTime->SetName(str); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
|
|
||||||
|
mTotalTime->SetLabel(str);
|
||||||
|
mTotalTime->SetName(str); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EffectRepeat::OnRepeatTextChange(wxCommandEvent & WXUNUSED(evt))
|
void EffectRepeat::OnRepeatTextChange(wxCommandEvent & WXUNUSED(evt))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user