1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-21 07:15:09 +03:00

Assert added

This commit is contained in:
Bertrand Songis 2019-05-10 22:18:05 +02:00
parent 8056739e46
commit 4d313925fa

View file

@ -61,7 +61,6 @@ SimulatorWidget::SimulatorWidget(QWidget * parent, SimulatorInterface * simulato
#ifdef JOYSTICKS
, joystick(NULL)
#endif
{
ui->setupUi(this);
@ -522,6 +521,7 @@ void SimulatorWidget::shutdown()
void SimulatorWidget::setRadioProfileId(int value)
{
Q_ASSERT(value >= 0);
radioProfileId = value;
emit simulatorVolumeGainChange(g.profile[radioProfileId].volumeGain());
}