From 26860d9ef06b208274a4173b713a8c73936dccc4 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Wed, 11 Apr 2018 10:17:41 +0100 Subject: [PATCH] Mixer toolbar: change accessibility names of sliders The third argument of ASlider constructors already provided suitable accessibility names. So removed the unnecessary calls to SetName which set unsuitable names. --- src/toolbars/MixerToolBar.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/toolbars/MixerToolBar.cpp b/src/toolbars/MixerToolBar.cpp index d4916b28a..dd0d32c6e 100644 --- a/src/toolbars/MixerToolBar.cpp +++ b/src/toolbars/MixerToolBar.cpp @@ -80,7 +80,6 @@ void MixerToolBar::Populate() mInputSlider = safenew ASlider(this, wxID_ANY, _("Recording Volume"), wxDefaultPosition, wxSize(130, 25), ASlider::Options{}.Line( 0.1f ).Page( 2.0f )); - mInputSlider->SetName(_("Slider Recording")); Add(mInputSlider, 0, wxALIGN_CENTER); // Playback icon and slider @@ -90,7 +89,6 @@ void MixerToolBar::Populate() mOutputSlider = safenew ASlider(this, wxID_ANY, _("Playback Volume"), wxDefaultPosition, wxSize(130, 25), ASlider::Options{}.Line( 0.1f ).Page( 2.0f )); - mOutputSlider->SetName(_("Slider Playback")); Add(mOutputSlider, 0, wxALIGN_CENTER); // this bit taken from SelectionBar::Populate()