Fix an issue that caused DBC interpretation to not work right

This commit is contained in:
Collin Kidder
2016-01-17 17:17:44 -05:00
parent 3ef905b68a
commit 00aa9c6c14
+1
View File
@@ -557,6 +557,7 @@ void DBCFile::loadFile(QString fileName)
QStringList fileList = fileName.split('/');
this->fileName = fileList[fileList.length() - 1]; //whoops... same name as parameter in this function.
filePath = fileName.left(fileName.length() - this->fileName.length());
assocBuses = -1;
}