mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Fix reportError call
This commit is contained in:
parent
653ef7b243
commit
8f19f74893
@ -213,7 +213,7 @@ class Heatmap(QgisAlgorithm):
|
|||||||
break
|
break
|
||||||
|
|
||||||
if kde.addFeature(f) != QgsKernelDensityEstimation.Success:
|
if kde.addFeature(f) != QgsKernelDensityEstimation.Success:
|
||||||
feedback.reportError(self.tr('Error adding feature with ID {} to heatmap').format(f.id()), self.tr('Processing'), QgsMessageLog.CRITICAL)
|
feedback.reportError(self.tr('Error adding feature with ID {} to heatmap').format(f.id()))
|
||||||
|
|
||||||
feedback.setProgress(int(current * total))
|
feedback.setProgress(int(current * total))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user