mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
Prevent error if rig control data isn't populated
This commit is contained in:
parent
f4f0e921d6
commit
e28c6d5b54
|
@ -2766,7 +2766,10 @@ function checkRigctld(){
|
|||
ip: rigctld_ip,
|
||||
port: rigctld_port
|
||||
};
|
||||
ipcRenderer.send('request-check-rigctld', Data);
|
||||
|
||||
//Prevents an error on startup if hamlib settings aren't populated yet
|
||||
if (!isNaN(rigctld_port))
|
||||
ipcRenderer.send('request-check-rigctld', Data);
|
||||
}
|
||||
|
||||
ipcRenderer.on('action-check-rigctld', (event, data) => {
|
||||
|
|
Loading…
Reference in a new issue