mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-21 07:15:09 +03:00
Assert added
This commit is contained in:
parent
8056739e46
commit
4d313925fa
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue