Add mute mode, fix bugs. Sniffer window seems to work well now.

This commit is contained in:
Collin Kidder
2018-10-23 21:04:59 -04:00
parent fbc71103af
commit 66ad108f82
4 changed files with 19 additions and 8 deletions
+2 -2
View File
@@ -284,14 +284,14 @@ void SnifferModel::update(CANConnection*, QVector<CANFrame>& pFrames)
/* add the frame */
beginInsertRows(QModelIndex(), index, index);
mMap[frame.ID] = new SnifferItem(frame, mTimeSequence);
mMap[frame.ID]->update(frame, mTimeSequence);
mMap[frame.ID]->update(frame, mTimeSequence, mMuteNotched);
endInsertRows();
emit idChange(frame.ID, true);
}
else
//updateData
mMap[frame.ID]->update(frame, mTimeSequence);
mMap[frame.ID]->update(frame, mTimeSequence, mMuteNotched);
}
}