Re #1489, #1270, Re #1466: Allow only one instance of new dialogs

This commit is contained in:
Damjan Adamic
2015-01-04 20:07:39 +01:00
parent bb921a0a7f
commit 5037dff0d4
8 changed files with 57 additions and 14 deletions
@@ -28,6 +28,12 @@ void TelemetrySimulator::onTimerEvent()
}
}
void TelemetrySimulator::closeEvent(QCloseEvent *event)
{
ui->Simulate->setChecked(false);
event->accept();
}
void setSportPacketCrc(uint8_t * packet)
{
short crc = 0;