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)

(cherry picked from commit 590b7f4)
  • Loading branch information
nirvn authored and nyalldawson committed Feb 19, 2021
1 parent e2f9a06 commit be480b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/process/qgsprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit be480b0

Please sign in to comment.