mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 07:40:05 +02:00
Fix overly aggressive validation
This commit is contained in:
parent
6cc7bcf384
commit
a3b1803bf0
@ -214,7 +214,12 @@ bool EffectRepeat::TransferDataFromWindow()
|
|||||||
|
|
||||||
void EffectRepeat::DisplayNewTime()
|
void EffectRepeat::DisplayNewTime()
|
||||||
{
|
{
|
||||||
TransferDataFromWindow();
|
long l;
|
||||||
|
mRepeatCount->GetValue().ToLong(&l);
|
||||||
|
|
||||||
|
if (l > 0)
|
||||||
|
{
|
||||||
|
repeatCount = l;
|
||||||
|
|
||||||
NumericConverter nc(NumericConverter::TIME,
|
NumericConverter nc(NumericConverter::TIME,
|
||||||
_("hh:mm:ss"),
|
_("hh:mm:ss"),
|
||||||
@ -225,6 +230,7 @@ void EffectRepeat::DisplayNewTime()
|
|||||||
|
|
||||||
mTotalTime->SetLabel(str);
|
mTotalTime->SetLabel(str);
|
||||||
mTotalTime->SetName(str); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
|
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