diff --git a/radio/src/am_demod.h b/radio/src/am_demod.h index 41ac7b06..1ef36d21 100644 --- a/radio/src/am_demod.h +++ b/radio/src/am_demod.h @@ -139,7 +139,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_am_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_am_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["AM"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/cw_demod.h b/radio/src/cw_demod.h index 89c291a5..bf94c73f 100644 --- a/radio/src/cw_demod.h +++ b/radio/src/cw_demod.h @@ -147,7 +147,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_cw_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_cw_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["CW"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/dsb_demod.h b/radio/src/dsb_demod.h index fa146aa4..f5fcbe1a 100644 --- a/radio/src/dsb_demod.h +++ b/radio/src/dsb_demod.h @@ -139,7 +139,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_dsb_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_dsb_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["DSB"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/fm_demod.h b/radio/src/fm_demod.h index 68e23c25..eaacfeab 100644 --- a/radio/src/fm_demod.h +++ b/radio/src/fm_demod.h @@ -135,7 +135,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_fm_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_fm_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["FM"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/lsb_demod.h b/radio/src/lsb_demod.h index 9b484b17..ff713d97 100644 --- a/radio/src/lsb_demod.h +++ b/radio/src/lsb_demod.h @@ -139,7 +139,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_lsb_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_lsb_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["LSB"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/raw_demod.h b/radio/src/raw_demod.h index 87fe5e47..20e252a7 100644 --- a/radio/src/raw_demod.h +++ b/radio/src/raw_demod.h @@ -102,7 +102,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_raw_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_raw_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["RAW"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/usb_demod.h b/radio/src/usb_demod.h index fbde6bc4..dcf5f980 100644 --- a/radio/src/usb_demod.h +++ b/radio/src/usb_demod.h @@ -139,7 +139,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_usb_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_usb_squelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["USB"]["squelchLevel"] = squelchLevel; diff --git a/radio/src/wfm_demod.h b/radio/src/wfm_demod.h index ffd7aea9..882053e9 100644 --- a/radio/src/wfm_demod.h +++ b/radio/src/wfm_demod.h @@ -159,7 +159,7 @@ public: ImGui::Text("Squelch"); ImGui::SameLine(); ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); - if (ImGui::SliderFloat(("##_radio_wfm_deemp_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { + if (ImGui::SliderFloat(("##_radio_wfm_sqelch_" + uiPrefix).c_str(), &squelchLevel, -100.0f, 0.0f, "%.3fdB")) { squelch.setLevel(squelchLevel); _config->aquire(); _config->conf[uiPrefix]["WFM"]["squelchLevel"] = squelchLevel;