diff --git a/logPlus/formdraw.cpp b/logPlus/formdraw.cpp index 07123ae..79808d5 100644 --- a/logPlus/formdraw.cpp +++ b/logPlus/formdraw.cpp @@ -3554,6 +3554,17 @@ bool FormDraw::LoadFromSLF_Result(QMyCustomPlot *widget, QString strSlfName, QSt pGroup->addResultToPlot(-m_Result->EndDepth, -m_Result->MDepth1, result1, strUuid); } } + + if (result2 != "") + { + if (m_Result->MDepth3 != 0) + { + pGroup->addResultToPlot(-m_Result->MDepth3, -m_Result->MDepth2, result2, strUuid); + } + else { + pGroup->addResultToPlot(-m_Result->EndDepth, -m_Result->MDepth2, result2, strUuid); + } + } continue; // strUuid = ""; diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index d155f11..ddf671e 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -112,7 +112,7 @@ QMyCustomPlot::QMyCustomPlot(QWidget *parent, QString strSlfName, QString strWel void QMyCustomPlot::initGeometry(QString strUuid, int nscale, int nW) { - this->m_strUuid = m_strUuid; + this->m_strUuid = strUuid; double dHight = (m_iY2 - m_iY1)*100.0 / (double)nscale * g_dPixelPerCm; if (g_iShow == 1)