fix(sim): restore switch positions after simulator startup (#7262)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Raphael Coeffic
2026-04-20 09:48:43 +10:00
committed by GitHub
co-authored by raphaelcoeffic Claude Opus 4.6
parent 5e2ebb6ef5
commit e5cc981dda
+1 -1
View File
@@ -422,7 +422,6 @@ void SimulatorWidget::start()
emit simulatorInit(); // init simulator default I/O values
setupRadioWidgets();
restoreRadioWidgetsState();
bool tests = !(flags & SIMULATOR_FLAGS_NOTX);
if (!startupData.isEmpty()) {
@@ -457,6 +456,7 @@ void SimulatorWidget::stop()
void SimulatorWidget::onSimulatorStarted()
{
restoreRadioWidgetsState();
m_heartbeatTimer.start();
m_timer.start();
}