mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-26 10:58:29 +01:00
Fixed board not selected after refresh bug for hackrf
This commit is contained in:
parent
000429c3b5
commit
21cea65fbe
@ -299,6 +299,7 @@ private:
|
|||||||
float refreshBtnWdith = menuWidth - ImGui::GetCursorPosX();
|
float refreshBtnWdith = menuWidth - ImGui::GetCursorPosX();
|
||||||
if (ImGui::Button(CONCAT("Refresh##_hackrf_refr_", _this->name), ImVec2(refreshBtnWdith, 0))) {
|
if (ImGui::Button(CONCAT("Refresh##_hackrf_refr_", _this->name), ImVec2(refreshBtnWdith, 0))) {
|
||||||
_this->refresh();
|
_this->refresh();
|
||||||
|
_this->selectBySerial(_this->selectedSerial);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_this->running) { style::endDisabled(); }
|
if (_this->running) { style::endDisabled(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user