mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
fixed crash when no dev detected 2
This commit is contained in:
parent
3216daec2b
commit
e8ae20232a
@ -221,7 +221,7 @@ void drawWindow() {
|
||||
sigPath.setVolume(volume);
|
||||
}
|
||||
|
||||
if (devId != _devId) {
|
||||
if (devId != _devId && soapy.devList.size() > 0) {
|
||||
_devId = devId;
|
||||
soapy.setDevice(soapy.devList[devId]);
|
||||
srId = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user