[Simulator] TelemetrySimulator: Fix instance values not being populated with radio settings (also now reloads instance values with rest of radio data). (closes #4711)
This commit is contained in:
@@ -31,8 +31,6 @@ TelemetrySimulator::TelemetrySimulator(QWidget * parent, SimulatorInterface * si
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setupDataFields();
|
||||
|
||||
timer.setInterval(10);
|
||||
connect(&timer, &QTimer::timeout, this, &TelemetrySimulator::generateTelemetryFrame);
|
||||
|
||||
@@ -70,6 +68,11 @@ TelemetrySimulator::~TelemetrySimulator()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void TelemetrySimulator::onSimulatorStarted()
|
||||
{
|
||||
setupDataFields();
|
||||
}
|
||||
|
||||
void TelemetrySimulator::onSimulateToggled(bool isChecked)
|
||||
{
|
||||
if (isChecked) {
|
||||
|
||||
Reference in New Issue
Block a user