(#396) Showing the well log plot name in the tree view

This commit is contained in:
Pål Hagen 2015-09-08 11:47:25 +02:00
parent dbe4daa533
commit 4d8198657a

View File

@ -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);
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------