mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 09:45:16 +03:00
This commit is contained in:
parent
99b9de271c
commit
979de6bfa2
2 changed files with 18 additions and 3 deletions
|
@ -78,7 +78,7 @@ SimulatorDialog::~SimulatorDialog()
|
|||
delete simulator;
|
||||
}
|
||||
|
||||
void SimulatorDialog::closeEvent (QCloseEvent *)
|
||||
void SimulatorDialog::closeEvent(QCloseEvent *)
|
||||
{
|
||||
simulator->stop();
|
||||
timer->stop();
|
||||
|
@ -596,7 +596,6 @@ void SimulatorDialog::startCommon()
|
|||
lastPhase = -1;
|
||||
numGvars = GetCurrentFirmware()->getCapability(Gvars);
|
||||
numFlightModes = GetCurrentFirmware()->getCapability(FlightModes);
|
||||
simulator->setSdPath(g.profile[radioProfileId].sdPath());
|
||||
simulator->setVolumeGain(g.profile[radioProfileId].volumeGain());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue