mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
#5792 Python : Do not show file selection dialog in console mode
This commit is contained in:
1 parent
9e48d7ba7e
commit
7f3bc6533e
1 file changed
+6
@@ -183,6 +183,12 @@ bool RicImportSummaryCasesFeature::createSummaryCasesFromFiles( const QStringLis
|
||||
if ( !sumCaseColl ) return false;
|
||||
|
||||
RifSummaryCaseRestartSelector fileSelector;
|
||||
|
||||
if ( !RiaGuiApplication::isRunning() )
|
||||
{
|
||||
fileSelector.showDialog( false );
|
||||
}
|
||||
|
||||
fileSelector.setEnsembleOrGroupMode( ensembleOrGroup );
|
||||
fileSelector.determineFilesToImportFromSummaryFiles( fileNames );
|
||||
|
||||
|
||||
Reference in new issue
Block a user