'next' EEPROM support continued. Trim mode in Inputs tab added

This commit is contained in:
Bertrand Songis
2014-01-21 16:30:44 +01:00
parent b323c2e7a4
commit 0009c8b287
4 changed files with 24 additions and 11 deletions
+6
View File
@@ -88,6 +88,12 @@ void InputsPanel::update()
if (GetEepromInterface()->getCapability(VirtualInputs)) {
str += " " + tr("Source(%1)").arg(md->srcRaw.toString());
if (md->carryTrim>0) {
str += " " + tr("No Trim");
}
else if (md->carryTrim<0) {
str += " " + RawSource(SOURCE_TYPE_TRIM, (-(md->carryTrim)-1)).toString();
}
}
else {
switch (md->mode) {