Bug fixes for extended IDs in DBC files, fix one off error in a few

places (Corrects fuzzing window ID range), re-enabled overwrite mode
showing all signals in a message
This commit is contained in:
Collin Kidder
2021-04-28 21:41:33 -04:00
parent 5d97486624
commit e64e84d6fa
8 changed files with 66 additions and 28 deletions
+2 -2
View File
@@ -250,8 +250,8 @@ void FuzzingWindow::calcNextID()
{
if (rangeIDSelect)
{
int range = endID - startID;
if (range != 0) currentID = startID + QRandomGenerator::global()->bounded(range);
int range = endID - startID + 1;
if (range != 1) currentID = startID + QRandomGenerator::global()->bounded(range);
else currentID = startID;
}
else //IDs by filter so pick a random selected ID from the filter list