Skip to content
Permalink
Browse files

[process] Set the PROJECT_PATH project as QgsProject singleton to fix…

… aggregate expression (and more)

(cherry picked from commit 590b7f4)
  • Loading branch information
nirvn authored and nyalldawson committed Feb 19, 2021
1 parent e2f9a06 commit be480b02b5fc18a882fdffc518c9887df4fcbfcb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/process/qgsprocess.cpp
@@ -903,6 +903,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 )

0 comments on commit be480b0

Please sign in to comment.