From 64e960adc58ad299174a6686a5625b4ed74f1338 Mon Sep 17 00:00:00 2001 From: Max Paperno Date: Fri, 24 Mar 2017 03:39:43 -0400 Subject: [PATCH] [Simulator] Fix startup error in standalone mode when eeprom file does not exist (create file instead, as usual). --- companion/src/simulation/simulatorwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/companion/src/simulation/simulatorwidget.cpp b/companion/src/simulation/simulatorwidget.cpp index 61e4d7bf9..058c3516a 100644 --- a/companion/src/simulation/simulatorwidget.cpp +++ b/companion/src/simulation/simulatorwidget.cpp @@ -225,6 +225,7 @@ bool SimulatorWidget::setStartupData(const QByteArray & dataSource, bool fromFil else { // the binary file will be read/written directly by the fw interface, save the file name for simulator->start() startupData = dataSource; + ret = 1; } } }