mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-07 07:38:00 -04:00
Fix naming in UI "Bandwidth"->"Sample Rate"
This commit is contained in:
parent
904db013c7
commit
4ca7444176
@ -390,9 +390,9 @@ AppFrame::AppFrame() :
|
|||||||
|
|
||||||
sampleRateMenu = new wxMenu;
|
sampleRateMenu = new wxMenu;
|
||||||
|
|
||||||
menuBar->Append(sampleRateMenu, wxT("&Input Bandwidth"));
|
menuBar->Append(sampleRateMenu, wxT("Sample &Rate"));
|
||||||
|
|
||||||
menuBar->Append(menu, wxT("Audio &Bandwidth"));
|
menuBar->Append(menu, wxT("Audio &Sample Rate"));
|
||||||
|
|
||||||
SetMenuBar(menuBar);
|
SetMenuBar(menuBar);
|
||||||
|
|
||||||
@ -545,7 +545,7 @@ void AppFrame::updateDeviceParams() {
|
|||||||
sampleRateMenuItems[wxID_BANDWIDTH_MANUAL]->Check(true);
|
sampleRateMenuItems[wxID_BANDWIDTH_MANUAL]->Check(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
menuBar->Replace(4, newSampleRateMenu, wxT("&Input Bandwidth"));
|
menuBar->Replace(4, newSampleRateMenu, wxT("Sample &Rate"));
|
||||||
sampleRateMenu = newSampleRateMenu;
|
sampleRateMenu = newSampleRateMenu;
|
||||||
|
|
||||||
if (!wxGetApp().getAGCMode()) {
|
if (!wxGetApp().getAGCMode()) {
|
||||||
@ -762,7 +762,7 @@ void AppFrame::OnMenu(wxCommandEvent& event) {
|
|||||||
+ "min: " + std::to_string(rateLow) + " Hz"
|
+ "min: " + std::to_string(rateLow) + " Hz"
|
||||||
+ ", max: " + std::to_string(rateHigh) + " Hz\n",
|
+ ", max: " + std::to_string(rateHigh) + " Hz\n",
|
||||||
"Sample Rate in Hz",
|
"Sample Rate in Hz",
|
||||||
"Manual Bandwidth Entry",
|
"Manual Sample Rate Entry",
|
||||||
wxGetApp().getSampleRate(),
|
wxGetApp().getSampleRate(),
|
||||||
rateLow,
|
rateLow,
|
||||||
rateHigh,
|
rateHigh,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user