From 8024893a62483e06f5d0945e2c60aa67710a01ac Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Fri, 18 Jun 2021 15:57:21 -0700 Subject: [PATCH] If no rig caps, then don't mess with the window! --- wfmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wfmain.cpp b/wfmain.cpp index b22a855..0346266 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -702,6 +702,8 @@ void wfmain::setupMainUI() void wfmain::updateSizes(int tabIndex) { + if(!haveRigCaps) + return; // This function does nothing unless you are using a rig without spectrum. // This is a hack. It is not great, but it seems to work ok. if(!rigCaps.hasSpectrum)