mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fallback to project path for export
This commit is contained in:
parent
a78f8f8982
commit
ffabebfa53
@ -103,7 +103,7 @@ caf::PdmScriptResponse RicfExportVisibleCells::execute()
|
|||||||
QString exportFolder = RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::CELLS );
|
QString exportFolder = RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::CELLS );
|
||||||
if ( exportFolder.isNull() )
|
if ( exportFolder.isNull() )
|
||||||
{
|
{
|
||||||
exportFolder = RiaApplication::instance()->createAbsolutePathFromProjectRelativePath( "visibleCells" );
|
exportFolder = RiaApplication::instance()->currentProjectPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
RiaViewRedrawScheduler::instance()->clearViewsScheduledForUpdate();
|
RiaViewRedrawScheduler::instance()->clearViewsScheduledForUpdate();
|
||||||
|
Loading…
Reference in New Issue
Block a user