mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Showing the well log plot name in the tree view
This commit is contained in:
parent
dbe4daa533
commit
4d8198657a
@ -121,6 +121,7 @@ void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
|||||||
}
|
}
|
||||||
else if (changedField == &m_userName)
|
else if (changedField == &m_userName)
|
||||||
{
|
{
|
||||||
|
setUiName(m_userName);
|
||||||
updateViewerWidgetWindowTitle();
|
updateViewerWidgetWindowTitle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -343,6 +344,7 @@ void RimWellLogPlot::detachAllCurves()
|
|||||||
void RimWellLogPlot::setDescription(const QString& description)
|
void RimWellLogPlot::setDescription(const QString& description)
|
||||||
{
|
{
|
||||||
m_userName = description;
|
m_userName = description;
|
||||||
|
setUiName(description);
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user