From 6c86cada2ca6f8d273eb6f7967659e90ac98fd3c Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 19 Jun 2014 07:21:58 +0200 Subject: [PATCH] Bad initialization of weight in the MixerDialog (when no GVars) --- companion/src/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/helpers.cpp b/companion/src/helpers.cpp index f82abc21f..b78ae41e5 100644 --- a/companion/src/helpers.cpp +++ b/companion/src/helpers.cpp @@ -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; } }