From 21cea65fbe7cca3920b0916bb812b7f695770497 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sun, 18 Apr 2021 17:59:42 +0200 Subject: [PATCH] Fixed board not selected after refresh bug for hackrf --- hackrf_source/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hackrf_source/src/main.cpp b/hackrf_source/src/main.cpp index 1ac9f669..1dfe8bfa 100644 --- a/hackrf_source/src/main.cpp +++ b/hackrf_source/src/main.cpp @@ -299,6 +299,7 @@ private: float refreshBtnWdith = menuWidth - ImGui::GetCursorPosX(); if (ImGui::Button(CONCAT("Refresh##_hackrf_refr_", _this->name), ImVec2(refreshBtnWdith, 0))) { _this->refresh(); + _this->selectBySerial(_this->selectedSerial); } if (_this->running) { style::endDisabled(); }