mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 12:23:37 -05:00
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:
parent
d449dc123f
commit
550eb7e8a8
@ -1088,7 +1088,7 @@ void Configuration::impl::write_settings ()
|
|||||||
settings_->setValue ("Tx2QSO", TX_messages_);
|
settings_->setValue ("Tx2QSO", TX_messages_);
|
||||||
settings_->setValue ("DTR", rig_params_.CAT_DTR_always_on_);
|
settings_->setValue ("DTR", rig_params_.CAT_DTR_always_on_);
|
||||||
settings_->setValue ("RTS", rig_params_.CAT_RTS_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 ("Polling", rig_params_.CAT_poll_interval_);
|
||||||
settings_->setValue ("SplitMode", QVariant::fromValue (rig_params_.split_mode_));
|
settings_->setValue ("SplitMode", QVariant::fromValue (rig_params_.split_mode_));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user