mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-14 15:20:29 +02:00
Add another SetName for the rename dialog. Maybe it'll help screen readers?
This commit is contained in:
parent
31abee22b5
commit
e982fdb716
@ -2996,6 +2996,7 @@ void EditCurvesDialog::OnRename(wxCommandEvent &event)
|
|||||||
_("Rename '") + mEditCurves[ item ].Name + _("' to..."),
|
_("Rename '") + mEditCurves[ item ].Name + _("' to..."),
|
||||||
_("Rename...") );
|
_("Rename...") );
|
||||||
dlg.SetTextValidator( wxFILTER_EXCLUDE_CHAR_LIST );
|
dlg.SetTextValidator( wxFILTER_EXCLUDE_CHAR_LIST );
|
||||||
|
dlg.SetName( _("Rename '") + mEditCurves[ item ].Name );
|
||||||
wxTextValidator *tv = dlg.GetTextValidator();
|
wxTextValidator *tv = dlg.GetTextValidator();
|
||||||
tv->SetExcludes( exclude ); // Tell the validator about excluded chars
|
tv->SetExcludes( exclude ); // Tell the validator about excluded chars
|
||||||
if( dlg.ShowModal() == wxID_CANCEL )
|
if( dlg.ShowModal() == wxID_CANCEL )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user