mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-26 01:34:43 +01:00
Fixed crash when starting with no source 2
This commit is contained in:
parent
e364ebac6d
commit
f8c9aa1be4
@ -267,7 +267,7 @@ void drawWindow() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (ImGui::ImageButton(icons::PLAY_RAW, ImVec2(30, 30))) {
|
if (ImGui::ImageButton(icons::PLAY_RAW, ImVec2(30, 30)) && soapy.devList.size() > 0) {
|
||||||
soapy.start();
|
soapy.start();
|
||||||
soapy.setFrequency(wtf.getCenterFrequency());
|
soapy.setFrequency(wtf.getCenterFrequency());
|
||||||
playing = true;
|
playing = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user