TXAudioSource was not being saved as an enum in settings.

The TXAudioSource  was being saved as  a boolean value instead  of the
enumeration value.  This caused the  read back from settings  logic to
fail silently.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4220 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-07-25 22:13:52 +00:00
parent d449dc123f
commit 550eb7e8a8

View File

@ -1088,7 +1088,7 @@ void Configuration::impl::write_settings ()
settings_->setValue ("Tx2QSO", TX_messages_);
settings_->setValue ("DTR", rig_params_.CAT_DTR_always_on_);
settings_->setValue ("RTS", rig_params_.CAT_RTS_always_on_);
settings_->setValue ("TXAudioSource", TransceiverFactory::TX_audio_source_rear == rig_params_.TX_audio_source_);
settings_->setValue ("TXAudioSource", QVariant::fromValue (rig_params_.TX_audio_source_));
settings_->setValue ("Polling", rig_params_.CAT_poll_interval_);
settings_->setValue ("SplitMode", QVariant::fromValue (rig_params_.split_mode_));
}