mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-25 01:04:44 +01:00
Fixed the way the IF mode combo is displayed
This commit is contained in:
parent
dbd734a0b5
commit
e101c1ebd7
@ -681,11 +681,10 @@ private:
|
|||||||
config.conf["device"] = _this->devNameList[_this->devId];
|
config.conf["device"] = _this->devNameList[_this->devId];
|
||||||
config.release(true);
|
config.release(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::PushItemWidth(menuWidth - ImGui::CalcTextSize("IF Mode").x - 10);
|
|
||||||
ImGui::Text("IF Mode");
|
ImGui::Text("IF Mode");
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX());
|
||||||
if (ImGui::Combo(CONCAT("##sdrplay_ifmode", _this->name), &_this->ifModeId, ifModeTxt)) {
|
if (ImGui::Combo(CONCAT("##sdrplay_ifmode", _this->name), &_this->ifModeId, ifModeTxt)) {
|
||||||
if(_this->ifModeId != 0){
|
if(_this->ifModeId != 0){
|
||||||
_this->bandwidth = ifModes[_this->ifModeId].bw;
|
_this->bandwidth = ifModes[_this->ifModeId].bw;
|
||||||
@ -1081,4 +1080,4 @@ MOD_EXPORT void _DELETE_INSTANCE_(ModuleManager::Instance* instance) {
|
|||||||
MOD_EXPORT void _END_() {
|
MOD_EXPORT void _END_() {
|
||||||
config.disableAutoSave();
|
config.disableAutoSave();
|
||||||
config.save();
|
config.save();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user