Fallback to project path for export

This commit is contained in:
Magne Sjaastad committed 2023-11-17 09:53:30 +01:00
1 parent a78f8f8982
commit ffabebfa53
1 file changed
+1 -1
@@ -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();