Ensure rig calibration parameter changes are used immediately

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6782 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-06-19 17:36:15 +00:00
parent 0bc613e764
commit a3ab57bea7

View File

@ -418,6 +418,8 @@ private:
void delete_selected_macros (QModelIndexList); void delete_selected_macros (QModelIndexList);
Q_SLOT void on_save_path_select_push_button_clicked (bool); Q_SLOT void on_save_path_select_push_button_clicked (bool);
Q_SLOT void on_azel_path_select_push_button_clicked (bool); Q_SLOT void on_azel_path_select_push_button_clicked (bool);
Q_SLOT void on_calibration_intercept_spin_box_valueChanged (double);
Q_SLOT void on_calibration_slope_ppm_spin_box_valueChanged (double);
Q_SLOT void delete_frequencies (); Q_SLOT void delete_frequencies ();
Q_SLOT void on_reset_frequencies_push_button_clicked (bool); Q_SLOT void on_reset_frequencies_push_button_clicked (bool);
Q_SLOT void insert_frequency (); Q_SLOT void insert_frequency ();
@ -2181,6 +2183,16 @@ void Configuration::impl::on_azel_path_select_push_button_clicked (bool /* check
} }
} }
void Configuration::impl::on_calibration_intercept_spin_box_valueChanged (double)
{
rig_active_ = false; // force reset
}
void Configuration::impl::on_calibration_slope_ppm_spin_box_valueChanged (double)
{
rig_active_ = false; // force reset
}
bool Configuration::impl::have_rig () bool Configuration::impl::have_rig ()
{ {
if (!open_rig ()) if (!open_rig ())