mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
[process] Set the PROJECT_PATH project as QgsProject singleton to fix aggregate expression (and more)
This commit is contained in:
parent
67bf72ceb5
commit
590b7f48c4
@ -899,6 +899,7 @@ int QgsProcessingExec::execute( const QString &id, const QVariantMap ¶ms, co
|
||||
std::cerr << QStringLiteral( "Could not load the QGIS project \"%1\"\n" ).arg( projectPath ).toLocal8Bit().constData();
|
||||
return 1;
|
||||
}
|
||||
QgsProject::setInstance( project.get() );
|
||||
}
|
||||
|
||||
if ( !useJson )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user