realized that the value list was already supported so reverted

my custom code.  The issue that made me go down this path
is related to the little endian checkbox mysteriously and
inconsistently unchecking and therefore interpreting enum values
wrong...would really like to find this.
This commit is contained in:
Andy Huska
2022-09-20 17:08:20 -05:00
parent d9e371c494
commit 0ee9eacbb3
4 changed files with 3 additions and 27 deletions
-6
View File
@@ -86,9 +86,6 @@ DBCSignalEditor::DBCSignalEditor(QWidget *parent) :
case 4:
currentSignal->valType = STRING;
break;
case 5:
currentSignal->valType = VALUE_STRING;
break;
}
dbcFile->setDirtyFlag();
fillSignalForm(currentSignal);
@@ -581,9 +578,6 @@ void DBCSignalEditor::fillSignalForm(DBC_SIGNAL *sig)
case STRING:
ui->comboType->setCurrentIndex(4);
break;
case VALUE_STRING:
ui->comboType->setCurrentIndex(5);
break;
}
for (int i = 0; i < ui->comboReceiver->count(); i++)