diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index 3449372..8bc9d34 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -5973,17 +5973,6 @@ void QMyCustomPlot::s_changeJiegutextTitle(QString strUuid, QString strSlfName, //重新加载 //QString strAliasName = "气测-FMT-射孔-文本"; LoadFromSLF_Jiegutext(m_strSlfName, m_strLineName, strAliasName); - //设置所有title,供用户选择 - FormInfo* pInfo = m_formTrack->getFormInfoByParameters(m_strUuid, m_strWellName, m_strTrackName, m_strLineName); - if (pInfo == NULL) - { - return; - } - // - pInfo->m_strAliasName = strAliasName; - pInfo->m_FieldNameList.clear(); - pInfo->m_FieldNameList.append(this->m_FieldNameList); - pInfo->update(); } //改变录井剖面属性 @@ -6474,6 +6463,19 @@ bool QMyCustomPlot::LoadFromSLF_Jiegutext(QString strSlfName, QString csCurve, Q delete m_pResult; } delete logio; + + //设置所有title,供用户选择 + FormInfo* pInfo = m_formTrack->getFormInfoByParameters(m_strUuid, m_strWellName, m_strTrackName, m_strLineName); + if (pInfo == NULL) + { + return true; + } + // + pInfo->m_strAliasName = strAliasName; + pInfo->m_FieldNameList.clear(); + pInfo->m_FieldNameList.append(this->m_FieldNameList); + pInfo->update(); + return true; }