Fixed nonfunctional node delete. Was due to trying to find node by name but

passing in the name and comment concatenated together.  Made a new function to
find by name+comment since extracting only name from the text in the column would
require too much guessing.
This commit is contained in:
Andy Huska
2022-09-15 18:59:24 -05:00
parent b6b73d0e11
commit 7e4ebf2c74
3 changed files with 20 additions and 3 deletions
+1
View File
@@ -72,6 +72,7 @@ public:
DBCFile(const DBCFile& cpy);
DBCFile& operator=(const DBCFile& cpy);
DBC_NODE *findNodeByName(QString name);
DBC_NODE *findNodeByNameAndComment(QString fullname);
DBC_NODE *findNodeByIdx(int idx);
DBC_ATTRIBUTE *findAttributeByName(QString name, DBC_ATTRIBUTE_TYPE type = ATTR_TYPE_ANY);
DBC_ATTRIBUTE *findAttributeByIdx(int idx);