mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 16:15:48 +01:00
Bug 893 - Spectral Selection Toolbar misnamed
This commit is contained in:
@@ -84,10 +84,10 @@ BEGIN_EVENT_TABLE(SpectralSelectionBar, ToolBar)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
static const wxString preferencePath
|
||||
(wxT("/GUI/Toolbars/SpectralSelection/CenterAndWidthChoice"));
|
||||
(wxT("/GUI/Toolbars/FrequencySelection/CenterAndWidthChoice"));
|
||||
|
||||
SpectralSelectionBar::SpectralSelectionBar()
|
||||
: ToolBar(SpectralSelectionBarID, _("Spectral Selection"), wxT("SpectralSelection"))
|
||||
: ToolBar(SpectralSelectionBarID, _("Frequency Selection"), wxT("FrequencySelection"))
|
||||
, mListener(NULL), mbCenterAndWidth(true)
|
||||
, mCenter(0.0), mWidth(0.0), mLow(0.0), mHigh(0.0)
|
||||
, mCenterCtrl(NULL), mWidthCtrl(NULL), mLowCtrl(NULL), mHighCtrl(NULL)
|
||||
@@ -146,7 +146,7 @@ void SpectralSelectionBar::Populate()
|
||||
};
|
||||
mChoice = safenew wxChoice
|
||||
(this, OnChoiceID, wxDefaultPosition, wxDefaultSize, 2, choices,
|
||||
0, wxDefaultValidator, _("Spectral Selection"));
|
||||
0, wxDefaultValidator, _("Frequency Selection"));
|
||||
mChoice->SetSelection(mbCenterAndWidth ? 0 : 1);
|
||||
#ifdef __WXGTK__
|
||||
// Combo boxes are taller on Linux, and if we don't do the following, the selection toolbar will
|
||||
@@ -232,7 +232,7 @@ void SpectralSelectionBar::UpdatePrefs()
|
||||
}
|
||||
|
||||
// Set label to pull in language change
|
||||
SetLabel(_("Spectral Selection"));
|
||||
SetLabel(_("Frequency Selection"));
|
||||
|
||||
RegenerateTooltips();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user