mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 00:42:12 -05:00
Janitor : Add imported file to recently used files
This commit is contained in:
1 parent
f9c2bb4349
commit
5368a5d098
1 file changed
+7
@@ -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