mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-28 07:08:40 -05:00
Fix issue with selecting USB-DATA mode via HRD with some Icom rigs
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7966 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
dc144bc0fb
commit
b99cf6bfcc
@ -268,7 +268,11 @@ int HRDTransceiver::do_start ()
|
||||
|
||||
// Can't do this with ^Data$ as the button name because some Kenwood
|
||||
// rigs have a "Data" button which is for turning the DSP on and off
|
||||
//data_mode_toggle_button_ = find_button (QRegExp ("^(Data)$"));
|
||||
// so we must filter by rig name as well
|
||||
if (current_radio_name.startsWith ("IC")) // works with Icom transceivers
|
||||
{
|
||||
data_mode_toggle_button_ = find_button (QRegExp ("^(Data)$"));
|
||||
}
|
||||
|
||||
data_mode_on_button_ = find_button (QRegExp ("^(DATA-ON\\(mid\\))$"));
|
||||
data_mode_off_button_ = find_button (QRegExp ("^(DATA-OFF)$"));
|
||||
|
Loading…
Reference in New Issue
Block a user