PPM polarity was inverted in Companion PrintDialog and CompareDialog

This commit is contained in:
bsongis
2014-07-05 23:17:57 +02:00
parent 50122d4ee1
commit 58f81b193b
3 changed files with 6 additions and 5 deletions
+1
View File
@@ -954,6 +954,7 @@ class ModuleData {
bool ppmPulsePol; // false = positive
int ppmFrameLength;
void clear() { memset(this, 0, sizeof(ModuleData)); }
QString polarityToString() { return ppmPulsePol ? QObject::tr("Positive") : QObject::tr("Negative"); }
};
#define C9X_MAX_SCRIPTS 7