mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Merge pull request #1775 from lrowen/test-singlestep-size
Use precision to control single-step size in gs232controller feature [Issue# 1771]
This commit is contained in:
commit
44298cf339
@ -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