[process] Set the PROJECT_PATH project as QgsProject singleton to fix aggregate expression (and more)

This commit is contained in:
nirvn 2021-02-05 09:26:47 +07:00 committed by Nyall Dawson
parent 67bf72ceb5
commit 590b7f48c4

View File

@ -899,6 +899,7 @@ int QgsProcessingExec::execute( const QString &id, const QVariantMap &params, co
std::cerr << QStringLiteral( "Could not load the QGIS project \"%1\"\n" ).arg( projectPath ).toLocal8Bit().constData();
return 1;
}
QgsProject::setInstance( project.get() );
}
if ( !useJson )