SH momentary in simu

This commit is contained in:
Andre Bernet
2014-04-09 20:44:01 +02:00
parent af4f8e7f36
commit f08a3f6613
2 changed files with 13 additions and 0 deletions
@@ -591,6 +591,16 @@ void SimulatorDialog9X::getValues()
simulator->setValues(inputs);
}
void SimulatorDialogTaranis::resetSH()
{
ui->switchH->setValue(0);
}
void SimulatorDialogTaranis::on_switchH_sliderReleased()
{
QTimer::singleShot(400, this, SLOT(resetSH()));
}
void SimulatorDialogTaranis::getValues()
{
TxInputs inputs = {