Missing initialization in simulator. Does if fix #937?

This commit is contained in:
bsongis
2014-04-06 10:57:15 +02:00
parent ae3f207140
commit e1e15787c5
2 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -336,8 +336,6 @@ void SimulatorDialog::initUi(T * ui)
else {
ui->lcd->setFocus();
}
setupTimer();
}
void SimulatorDialog::onButtonPressed(int value)
@@ -437,11 +435,15 @@ void SimulatorDialog::centerSticks()
void SimulatorDialog::start(QByteArray & eeprom)
{
simulator->start(eeprom, (flags & SIMULATOR_FLAGS_NOTX) ? false : true);
getValues();
setupTimer();
}
void SimulatorDialog::start(const char * filename)
{
simulator->start(filename);
getValues();
setupTimer();
}
void SimulatorDialog::setTrims()