mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Surface Import : import of properties from TS files #5995
This commit is contained in:
committed by
Magne Sjaastad
parent
66037da9d5
commit
e5f3a3b67d
@@ -120,7 +120,7 @@ RimSurface* RimSurfaceCollection::importSurfacesFromFiles( const QStringList& fi
|
||||
|
||||
updateViews( surfacesToReload );
|
||||
|
||||
if ( !newFileNames.empty() )
|
||||
if ( newSurfCount > 0 && !m_surfaces.empty() )
|
||||
{
|
||||
return m_surfaces[m_surfaces.size() - 1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user