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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user