mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Add imported file to recently used files
This commit is contained in:
@@ -226,6 +226,13 @@ void RicImportGeneralDataFeature::openFileDialog( ImportFileType fileTypes )
|
||||
{
|
||||
RiaLogging::error( QString( "Failed to open file names: %1" ).arg( fileNames.join( ", " ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( fileNames.size() == 1 )
|
||||
{
|
||||
RiaApplication::instance()->addToRecentFiles( fileNames.front() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user