[graphing] Ignore RTR messages

RTR messages will be incorrectly graphed as "0", even though it's not
a real message.
This commit is contained in:
Mark Schulte
2019-12-05 17:14:27 -08:00
parent a5752063d7
commit 902a82c318
+1 -1
View File
@@ -1113,7 +1113,7 @@ void GraphingWindow::createGraph(GraphParams &params, bool createGraphParam)
for (int i = 0; i < modelFrames->count(); i++)
{
CANFrame thisFrame = modelFrames->at(i);
if (thisFrame.ID == params.ID) frameCache.append(thisFrame);
if (thisFrame.ID == params.ID && thisFrame.remote == false) frameCache.append(thisFrame);
}
//to fix weirdness where a graph that has no data won't be able to be edited, selected, or deleted properly