mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8150 Python : Do not show widget in console mode
This commit is contained in:
parent
c3e60dbc6f
commit
7c7be7a846
@ -81,7 +81,7 @@ bool RiaImportEclipseCaseTools::openEclipseCasesFromFile( const QStringList&
|
||||
|
||||
// Get list of files to import
|
||||
RifSummaryCaseRestartSelector selector;
|
||||
if ( noDialog ) selector.showDialog( false );
|
||||
if ( noDialog || !RiaGuiApplication::isRunning() ) selector.showDialog( false );
|
||||
selector.determineFilesToImportFromGridFiles( fileNames );
|
||||
std::vector<RifSummaryCaseFileResultInfo> summaryFileInfos = selector.summaryFileInfos();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user