| 416 | } |
| 417 | |
| 418 | void |
| 419 | FrequencyCorrectionDialog::refreshOrbit(void) |
| 420 | { |
| 421 | auto sus = Suscan::Singleton::get_instance(); |
| 422 | |
| 423 | if (this->ui->correctionTypeCombo->currentIndex() == 1) { |
| 424 | // TLE-based correction |
| 425 | if (this->ui->satRadio->isChecked()) { |
| 426 | // Take TLE from satellite |
| 427 | if (sus->getSatelliteMap().find(this->desiredSelected) != |
| 428 | sus->getLastSatellite()) { |
| 429 | this->setCurrentOrbit( |
| 430 | &sus->getSatelliteMap()[this->desiredSelected].getCOrbit()); |
| 431 | } |
| 432 | } else { |
| 433 | // Take TLE from textbox |
| 434 | this->parseCurrentTLE(); |
| 435 | } |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | void |
| 440 | FrequencyCorrectionDialog::recalcALOS(void) |
no test coverage detected