Skip to content

Commit

Permalink
[process] Set the PROJECT_PATH project as QgsProject singleton to fix…
Browse files Browse the repository at this point in the history
… aggregate expression (and more)
  • Loading branch information
nirvn authored and nyalldawson committed Feb 5, 2021
1 parent 67bf72c commit 590b7f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/process/qgsprocess.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 590b7f4

Please sign in to comment.