diff --git a/gui/preload-main.js b/gui/preload-main.js index 4f719f8a..b8fdbab6 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -657,8 +657,16 @@ window.addEventListener("DOMContentLoaded", () => { hamlib_params = function () { var paramList = []; - var hamlib_deviceid = document.getElementById("hamlib_deviceid").value; - paramList = paramList.concat("--model=" + hamlib_deviceid); + + + + // hamlib stopbits setting + if (document.getElementById("hamlib_deviceid").value !== "-- ignore --") { + var hamlib_deviceid = document.getElementById("hamlib_deviceid").value; + paramList = paramList.concat("--model=" + hamlib_deviceid); + } + + // hamlib deviceport setting if (document.getElementById("hamlib_deviceport").value !== "ignore") { diff --git a/gui/src/index.html b/gui/src/index.html index a7e3ab80..a84a87f8 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -1964,6 +1964,7 @@ style="width: 7rem" /> +