From adc2be3afd76ca3b4183d1fd60fc6e7b1ff6b676 Mon Sep 17 00:00:00 2001 From: jiayulong Date: Wed, 29 Apr 2026 15:20:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E6=AD=A3=E7=BA=BF=E6=AE=B5=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=90=8E=EF=BC=8C=E7=BD=AE=E4=B8=BAnull=E5=B9=B6?= =?UTF-8?q?=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/qmycustomplot.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index 6982de0..781daa8 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -4888,7 +4888,9 @@ void QMyCustomPlot::s_DelSelectShiftLineFromPlot(QString strUuid, QString strSlf { TransparentDraggableLine *pDraggableLine = (TransparentDraggableLine *)m_SelectShiftLine; pDraggableLine->deleteRect(); + m_SelectShiftLine = nullptr; } + replot(); } //清除全部分段线 @@ -4914,7 +4916,9 @@ void QMyCustomPlot::s_DelAllShiftLineFromPlot(QString strUuid, QString strSlfNam pDraggableLine = (TransparentDraggableLine*)it.value(); it++; pDraggableLine->deleteRect(); + m_SelectShiftLine = nullptr; } + this->replot(); } //执行校正