Second try to fix this error on startup

This commit is contained in:
Mashintime 2023-01-27 10:06:27 -05:00
parent 0a0f216fee
commit 7556de25cf

View file

@ -2889,7 +2889,7 @@ function checkRigctld(){
};
//Prevents an error on startup if hamlib settings aren't populated yet
if (!isNaN(rigctld_port))
if (rigctld_port.length > 0 && rigctld_ip.length > 0)
ipcRenderer.send('request-check-rigctld', Data);
}