mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7929 Python : Avoid creation of new view when opening case
This commit is contained in:
@@ -905,10 +905,8 @@ void RimEclipseCase::setFilesContainingFaults( const std::vector<QString>& pathS
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimEclipseCase::ensureReservoirCaseIsOpen()
|
||||
{
|
||||
if ( m_rigEclipseCase.notNull() )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
// Call openReserviorCase, as this is a cheap method to call multiple times
|
||||
// Add extra testing here if performance issues are seen
|
||||
|
||||
return openReserviorCase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user