Allow changing Tx frequency also for FT4 and FST4 when the VHF features are enabled.

This commit is contained in:
Uwe Risse 2023-10-14 11:55:32 +02:00
parent a3a02a8996
commit 8ecdebaeba

View File

@ -5539,7 +5539,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
QString firstcall = message.call();
if(firstcall.length()>=4 and firstcall.mid(0,3)=="CQ ") firstcall="CQ";
if(!m_bFastMode and (!m_config.enable_VHF_features() or m_mode=="FT8")) {
if(!m_bFastMode and (!m_config.enable_VHF_features() or m_mode=="FT8" or m_mode=="FT4" or m_mode=="FST4")) {
// Don't change Tx freq if in a fast mode, or VHF features enabled; also not if a
// station is calling me, unless CTRL or SHIFT is held down.
if ((Radio::is_callsign (firstcall)