mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4732 Fix missing refresh for ensemble RFT
This commit is contained in:
@@ -252,9 +252,8 @@ void RimWellPathCollection::addWellPaths( QStringList filePaths )
|
|||||||
|
|
||||||
readAndAddWellPaths( wellPathArray );
|
readAndAddWellPaths( wellPathArray );
|
||||||
|
|
||||||
RimProject* proj;
|
scheduleRedrawAffectedViews();
|
||||||
firstAncestorOrThisOfTypeAsserted( proj );
|
updateAllRequiredEditors();
|
||||||
proj->reloadCompletionTypeResultsInAllViews();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -309,6 +308,8 @@ void RimWellPathCollection::addWellPaths( const std::vector<RimWellPath*> incomi
|
|||||||
this->wellPaths.push_back( wellPath );
|
this->wellPaths.push_back( wellPath );
|
||||||
}
|
}
|
||||||
this->sortWellsByName();
|
this->sortWellsByName();
|
||||||
|
|
||||||
|
updateAllRequiredEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -335,6 +336,7 @@ RimWellLogFile* RimWellPathCollection::addWellLogs( const QStringList& filePaths
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->sortWellsByName();
|
this->sortWellsByName();
|
||||||
|
updateAllRequiredEditors();
|
||||||
|
|
||||||
return logFileInfo;
|
return logFileInfo;
|
||||||
}
|
}
|
||||||
@@ -390,6 +392,7 @@ void RimWellPathCollection::addWellPathFormations( const QStringList& filePaths
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->sortWellsByName();
|
this->sortWellsByName();
|
||||||
|
updateAllRequiredEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -501,6 +504,7 @@ void RimWellPathCollection::deleteAllWellPaths()
|
|||||||
wellPaths.deleteAllChildObjects();
|
wellPaths.deleteAllChildObjects();
|
||||||
|
|
||||||
m_wellPathImporter->clear();
|
m_wellPathImporter->clear();
|
||||||
|
updateAllRequiredEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -587,6 +591,7 @@ void RimWellPathCollection::removeWellPath( RimWellPath* wellPath )
|
|||||||
m_wellPathImporter->removeFilePath( fileWellPath->filepath() );
|
m_wellPathImporter->removeFilePath( fileWellPath->filepath() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
updateAllRequiredEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user