mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 12:27:51 +02:00
bugfixes
This commit is contained in:
@ -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)) {
|
||||
|
@ -239,6 +239,7 @@ private:
|
||||
}
|
||||
|
||||
if (_this->tunerAGC) { SmGui::BeginDisabled(); }
|
||||
SmGui::LeftLabel("Gain");
|
||||
SmGui::FillWidth();
|
||||
if (SmGui::SliderInt(CONCAT("##_gain_select_", _this->name), &_this->gain, 0, 28, SmGui::FMT_STR_NONE)) {
|
||||
if (_this->running) {
|
||||
|
Reference in New Issue
Block a user