From 4aed169d4a7b5bf2d9564e7129b0557c6c0edb08 Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Wed, 20 May 2026 11:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=82=E7=BC=9D=E9=80=80=E5=87=BA=E5=B4=A9?= =?UTF-8?q?=E6=BA=83=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/PickFrac.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/logPlus/PickFrac.cpp b/logPlus/PickFrac.cpp index 7e345cd..9fa6abf 100644 --- a/logPlus/PickFrac.cpp +++ b/logPlus/PickFrac.cpp @@ -318,15 +318,15 @@ DraggableCrackItem::DraggableCrackItem(QCustomPlot *plot, Type type, const QColo DraggableCrackItem::~DraggableCrackItem() { - if (m_type == TypeA_Sine) { - if (m_tracer1) m_plot->removeItem(m_tracer1); - if (m_tracer2) m_plot->removeItem(m_tracer2); - if (m_curve) m_plot->removeItem(m_curve); - } else if (m_type == TypeB_Polyline) { - clearLines(); - } else if (m_type == TypeC_Closed) { - clearPolylineC(); - } +// if (m_type == TypeA_Sine) { +// if (m_tracer1) m_plot->removeItem(m_tracer1); +// if (m_tracer2) m_plot->removeItem(m_tracer2); +// if (m_curve) m_plot->removeItem(m_curve); +// } else if (m_type == TypeB_Polyline) { +// clearLines(); +// } else if (m_type == TypeC_Closed) { +// clearPolylineC(); +// } if (s_activeItem == this) s_activeItem = nullptr; }