mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5917 Export Completion: Avoid overwrite of export completion well name
This commit is contained in:
@@ -460,8 +460,17 @@ QString RimWellPath::name() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPath::setName( const QString& name )
|
||||
{
|
||||
m_name = name;
|
||||
setNameNoUpdateOfExportName( name );
|
||||
|
||||
m_completions->setWellNameForExport( name );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPath::setNameNoUpdateOfExportName( const QString& name )
|
||||
{
|
||||
m_name = name;
|
||||
tryAssociateWithSimulationWell();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user