From 54e38bcf9e9e6e36f2a544417141f7d414edd8a9 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 23 Aug 2017 17:34:02 +1000 Subject: [PATCH] Fix model execution missing from processing history --- src/core/processing/models/qgsprocessingmodelalgorithm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/processing/models/qgsprocessingmodelalgorithm.cpp b/src/core/processing/models/qgsprocessingmodelalgorithm.cpp index fceaf1d216b8..d4ef111a6841 100644 --- a/src/core/processing/models/qgsprocessingmodelalgorithm.cpp +++ b/src/core/processing/models/qgsprocessingmodelalgorithm.cpp @@ -1121,6 +1121,7 @@ QgsProcessingAlgorithm *QgsProcessingModelAlgorithm::createInstance() const QgsProcessingModelAlgorithm *alg = new QgsProcessingModelAlgorithm(); alg->loadVariant( toVariant() ); alg->setProvider( provider() ); + alg->setSourceFilePath( sourceFilePath() ); return alg; }