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; }