mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
Patch to cause single-step controls in gs232controller to use precision to determine step size
This commit is contained in:
parent
73c69543f9
commit
ba7cb15541
@ -690,6 +690,12 @@ void GS232ControllerGUI::setPrecision()
|
||||
ui->tolerance->setDecimals(m_settings.m_precision);
|
||||
ui->azimuthOffset->setDecimals(m_settings.m_precision);
|
||||
ui->elevationOffset->setDecimals(m_settings.m_precision);
|
||||
double step = pow(10.0, -m_settings.m_precision);
|
||||
ui->coord1->setSingleStep(step);
|
||||
ui->coord2->setSingleStep(step);
|
||||
ui->tolerance->setSingleStep(step);
|
||||
ui->azimuthOffset->setSingleStep(step);
|
||||
ui->elevationOffset->setSingleStep(step);
|
||||
}
|
||||
|
||||
void GS232ControllerGUI::on_protocol_currentIndexChanged(int index)
|
||||
|
Loading…
Reference in New Issue
Block a user