Fallback to project path for export

This commit is contained in:
Magne Sjaastad 2023-11-16 14:24:28 +01:00
parent a78f8f8982
commit ffabebfa53

View File

@ -103,7 +103,7 @@ caf::PdmScriptResponse RicfExportVisibleCells::execute()
QString exportFolder = RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::CELLS );
if ( exportFolder.isNull() )
{
exportFolder = RiaApplication::instance()->createAbsolutePathFromProjectRelativePath( "visibleCells" );
exportFolder = RiaApplication::instance()->currentProjectPath();
}
RiaViewRedrawScheduler::instance()->clearViewsScheduledForUpdate();