mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-10-01 09:36:42 -04:00
Stop spamming hundreds of No SoapySDR Module
dialogs. (#773)
This commit is contained in:
parent
31323fe3c2
commit
58d3a02855
@ -408,10 +408,10 @@ void SDRDevicesDialog::OnDeviceTimer( wxTimerEvent& event ) {
|
|||||||
if (refresh) {
|
if (refresh) {
|
||||||
if (wxGetApp().areModulesMissing()) {
|
if (wxGetApp().areModulesMissing()) {
|
||||||
if (!failed) {
|
if (!failed) {
|
||||||
|
failed = true;
|
||||||
wxMessageDialog *info;
|
wxMessageDialog *info;
|
||||||
info = new wxMessageDialog(NULL, wxT("\nNo SoapySDR modules were found.\n\nCubicSDR requires at least one SoapySDR device support module to be installed.\n\nPlease visit https://github.com/cjcliffe/CubicSDR/wiki and in the build instructions for your platform read the 'Support Modules' section for more information."), wxT("\x28\u256F\xB0\u25A1\xB0\uFF09\u256F\uFE35\x20\u253B\u2501\u253B"), wxOK | wxICON_ERROR);
|
info = new wxMessageDialog(NULL, wxT("\nNo SoapySDR modules were found.\n\nCubicSDR requires at least one SoapySDR device support module to be installed.\n\nPlease visit https://github.com/cjcliffe/CubicSDR/wiki and in the build instructions for your platform read the 'Support Modules' section for more information."), wxT("\x28\u256F\xB0\u25A1\xB0\uFF09\u256F\uFE35\x20\u253B\u2501\u253B"), wxOK | wxICON_ERROR);
|
||||||
info->ShowModal();
|
info->ShowModal();
|
||||||
failed = true;
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user