1.可视解释创建后不马上显示,追加刷新处理 2.优化模板加载后的slf路径

This commit is contained in:
jiayulong 2026-06-01 17:42:50 +08:00
parent c2b276fbe6
commit 394ce609ed
2 changed files with 7 additions and 3 deletions

View File

@ -5832,6 +5832,10 @@ bool FormDraw::LoadFromSLF_Result(QMyCustomPlot *widget, QString strSlfName, QSt
TransparentGroupResult* pGroup = widget->addResultGroup(-m_Result->EndDepth, -m_Result->StartDepth, strGroupUuid, strZone);
pGroup->addAllResultToPlot(m_Result);
}
//最后统一刷新
widget->replot();
logio->CloseTable(iIndex);
delete pstr;
}

View File

@ -5763,9 +5763,9 @@ void MainWindowCurve::DisplayWell_One(QJsonObject wellObjInfo)
}
//新建井
QString folderPath = GetLogdataPath();
folderPath = folderPath + g_prjname;
strSlfName = folderPath + "/" + "#" + strWellName + "/" + strSlfName;
// QString folderPath = GetLogdataPath();
// folderPath = folderPath + g_prjname;
// strSlfName = folderPath + "/" + "#" + strWellName + "/" + strSlfName;
s_NewWell(strWellName, strSlfName, m_bShowTrackHead);
//