Fixed crash when starting with no source 2

pull/36/head 0.2.2_alpha
Ryzerth 2020-07-20 18:18:49 +02:00
rodzic e364ebac6d
commit f8c9aa1be4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;