1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 00:05:17 +03:00

Bad initialization of weight in the MixerDialog (when no GVars)

This commit is contained in:
bsongis 2014-06-19 07:21:58 +02:00
parent 7e147c71c1
commit 6c86cada2c

View file

@ -158,7 +158,7 @@ GVarGroup::GVarGroup(QCheckBox *weightGV, QSpinBox *weightSB, QComboBox *weightC
}
else {
weightGV->hide();
if (weight > maxi || weight < -mini) {
if (weight > maxi || weight < mini) {
weight = deflt;
}
}