#4732 Fix missing refresh for ensemble RFT

This commit is contained in:
Gaute Lindkvist
2019-09-18 17:41:03 +02:00
parent cdfaedf834
commit 9d62a0c84e

View File

@@ -252,9 +252,8 @@ void RimWellPathCollection::addWellPaths( QStringList filePaths )
readAndAddWellPaths( wellPathArray );
RimProject* proj;
firstAncestorOrThisOfTypeAsserted( proj );
proj->reloadCompletionTypeResultsInAllViews();
scheduleRedrawAffectedViews();
updateAllRequiredEditors();
}
//--------------------------------------------------------------------------------------------------
@@ -309,6 +308,8 @@ void RimWellPathCollection::addWellPaths( const std::vector<RimWellPath*> incomi
this->wellPaths.push_back( wellPath );
}
this->sortWellsByName();
updateAllRequiredEditors();
}
//--------------------------------------------------------------------------------------------------
@@ -335,6 +336,7 @@ RimWellLogFile* RimWellPathCollection::addWellLogs( const QStringList& filePaths
}
this->sortWellsByName();
updateAllRequiredEditors();
return logFileInfo;
}
@@ -390,6 +392,7 @@ void RimWellPathCollection::addWellPathFormations( const QStringList& filePaths
}
this->sortWellsByName();
updateAllRequiredEditors();
}
//--------------------------------------------------------------------------------------------------
@@ -501,6 +504,7 @@ void RimWellPathCollection::deleteAllWellPaths()
wellPaths.deleteAllChildObjects();
m_wellPathImporter->clear();
updateAllRequiredEditors();
}
//--------------------------------------------------------------------------------------------------
@@ -587,6 +591,7 @@ void RimWellPathCollection::removeWellPath( RimWellPath* wellPath )
m_wellPathImporter->removeFilePath( fileWellPath->filepath() );
}
}
updateAllRequiredEditors();
}
//--------------------------------------------------------------------------------------------------