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
+2 -1
View File
@@ -109,7 +109,8 @@ void FrameSenderWindow::updatedFrames(int numFrames)
buildFrameCache();
}
else //just got some new frames. See if they are relevant.
{
{
if (numFrames > modelFrames->count()) return;
qDebug() << "New frames in sender window";
//run through the supposedly new frames in order
for (int i = modelFrames->count() - numFrames; i < modelFrames->count(); i++)