From e982fdb7160cc2d788f15e1d95f35a19a7e4553f Mon Sep 17 00:00:00 2001 From: martynshaw99 Date: Sun, 27 Jun 2010 22:28:04 +0000 Subject: [PATCH] Add another SetName for the rename dialog. Maybe it'll help screen readers? --- src/effects/Equalization.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/effects/Equalization.cpp b/src/effects/Equalization.cpp index 666b8a4b6..303439412 100644 --- a/src/effects/Equalization.cpp +++ b/src/effects/Equalization.cpp @@ -2996,6 +2996,7 @@ void EditCurvesDialog::OnRename(wxCommandEvent &event) _("Rename '") + mEditCurves[ item ].Name + _("' to..."), _("Rename...") ); dlg.SetTextValidator( wxFILTER_EXCLUDE_CHAR_LIST ); + dlg.SetName( _("Rename '") + mEditCurves[ item ].Name ); wxTextValidator *tv = dlg.GetTextValidator(); tv->SetExcludes( exclude ); // Tell the validator about excluded chars if( dlg.ShowModal() == wxID_CANCEL )