diff --git a/src/main_window.cpp b/src/main_window.cpp index 8b06a6b7..5b5e2e7b 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -267,7 +267,7 @@ void drawWindow() { } } 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.setFrequency(wtf.getCenterFrequency()); playing = true;