This commit is contained in:
AlexandreRouma
2023-01-13 17:11:16 +01:00
parent a1cbc69a65
commit b3222003b1
3 changed files with 8 additions and 6 deletions

View File

@ -427,9 +427,10 @@ private:
}
if (_this->tunerAgc || _this->gainList.size() == 0) { SmGui::BeginDisabled(); }
SmGui::LeftLabel("Gain");
SmGui::FillWidth();
SmGui::ForceSync();
// TODO: FIND ANOTHER WAY
if (_this->serverMode) {
if (SmGui::SliderInt(CONCAT("##_rtlsdr_gain_", _this->name), &_this->gainId, 0, _this->gainList.size() - 1, SmGui::FMT_STR_NONE)) {