Fixed crash bug found in many sub screens, made UDS scanner work better.

This commit is contained in:
Collin Kidder
2016-01-29 15:03:29 -05:00
parent a3318947d5
commit 48fb208f8b
10 changed files with 79 additions and 39 deletions
+1
View File
@@ -83,6 +83,7 @@ void FrameInfoWindow::updatedFrames(int numFrames)
}
else //just got some new frames. See if they are relevant.
{
if (numFrames > modelFrames->count()) return;
int currID = ui->listFrameID->currentItem()->text().toInt(NULL, 16);
bool foundID = false;
for (int x = modelFrames->count() - numFrames; x < modelFrames->count(); x++)