mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-23 00:05:13 +03:00
[Simulator] Fix startup error in standalone mode when eeprom file does not exist (create file instead, as usual).
This commit is contained in:
parent
d82244adc0
commit
64e960adc5
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ bool SimulatorWidget::setStartupData(const QByteArray & dataSource, bool fromFil
|
||||||
else {
|
else {
|
||||||
// the binary file will be read/written directly by the fw interface, save the file name for simulator->start()
|
// the binary file will be read/written directly by the fw interface, save the file name for simulator->start()
|
||||||
startupData = dataSource;
|
startupData = dataSource;
|
||||||
|
ret = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue