mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3920 Create Well Path: New well name not used in Completions
This commit is contained in:
@@ -156,6 +156,17 @@ void RimWellPathCompletions::setWellNameForExport(const QString& name)
|
||||
m_wellNameForExport = n.remove(' ');
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathCompletions::updateWellPathNameHasChanged(const QString& newWellPathName, const QString& previousWellPathName)
|
||||
{
|
||||
if (m_wellNameForExport == previousWellPathName)
|
||||
{
|
||||
m_wellNameForExport = newWellPathName;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -59,6 +59,7 @@ public:
|
||||
std::vector<const RimWellPathComponentInterface*> allCompletions() const;
|
||||
|
||||
void setWellNameForExport(const QString& name);
|
||||
void updateWellPathNameHasChanged(const QString& newWellPathName, const QString& previousWellPathName);
|
||||
QString wellNameForExport() const;
|
||||
QString wellGroupNameForExport() const;
|
||||
QString referenceDepthForExport() const;
|
||||
|
||||
Reference in New Issue
Block a user