Added ability to create new DBC files from the DBC file manager,

hooked up ability to change associated bus for DBC files.
This commit is contained in:
Collin Kidder
2016-01-21 20:49:51 -05:00
parent a42d9532d7
commit c41815e628
5 changed files with 39 additions and 2 deletions
+7
View File
@@ -731,6 +731,13 @@ void DBCHandler::saveDBCFile(int idx)
}
}
int DBCHandler::createBlankFile()
{
DBCFile newFile;
loadedFiles.append(newFile);
return loadedFiles.count();
}
//the only reason to even bother sending the index is to see if
//the user wants to replace an already loaded DBC.
//Otherwise add a new one. Well, always add a new one.