mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-29 10:45:30 +01:00
minor style change
This commit is contained in:
parent
99441ea2eb
commit
ba6d9f7202
@ -356,13 +356,12 @@ private:
|
|||||||
|
|
||||||
float menuWidth = ImGui::GetContentRegionAvailWidth();
|
float menuWidth = ImGui::GetContentRegionAvailWidth();
|
||||||
|
|
||||||
// If no device is selected, draw just the refresh button
|
// If no device is selected, draw only the refresh button
|
||||||
if (_this->devId < 0) {
|
if (_this->devId < 0) {
|
||||||
if (ImGui::Button(CONCAT("Refresh##_dev_select_", _this->name), ImVec2(menuWidth, 0))) {
|
if (ImGui::Button(CONCAT("Refresh##_dev_select_", _this->name), ImVec2(menuWidth, 0))) {
|
||||||
_this->refresh();
|
_this->refresh();
|
||||||
_this->selectDevice(config.conf["device"]);
|
_this->selectDevice(config.conf["device"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user