Fix defect with initial split mode setting.

Split mode  was not being enabled  when enabling monitor mode  for the
first time if the rig split VFO was already at the required frequency.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4269 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-09-08 10:56:27 +00:00
parent 244f6e6969
commit fcba07b6cc
1 changed files with 1 additions and 1 deletions

View File

@ -1836,7 +1836,7 @@ bool Configuration::impl::set_mode ()
void Configuration::impl::transceiver_tx_frequency (Frequency f)
{
if (set_mode () || cached_rig_state_.tx_frequency () != f)
if (set_mode () || cached_rig_state_.tx_frequency () != f || cached_rig_state_.split () != !!f)
{
cached_rig_state_.tx_frequency (f);
cached_rig_state_.split (f);