From 78d1680eac0406f11a14422bd414e3a43e461e15 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Wed, 12 Jul 2017 18:33:22 -0400 Subject: [PATCH] Fix to allow overwrite mode to cause screen refreshing. The refreshes in overwrite mode will be faster than the normal GUI refresh rate. This could be handy for catching momentary messages. --- canframemodel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/canframemodel.cpp b/canframemodel.cpp index 985e7c2..93aff03 100644 --- a/canframemodel.cpp +++ b/canframemodel.cpp @@ -420,6 +420,11 @@ void CANFrameModel::addFrames(const CANConnection*, const QVector& pFr { addFrame(frame); } + if (overwriteDups) //if in overwrite mode we'll update every time frames come in + { + beginResetModel(); + endResetModel(); + } } void CANFrameModel::sendRefresh()