Skip to content

Commit bc09875

Browse files
committed
[processing] Fix rasterize dialog openning
Fix #16061 Do not pass in getConsoleCommand just to get commandName for shortHelp. This avoid errors with non initialized parameters.
1 parent b3e1aba commit bc09875

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/plugins/processing/algs/gdal/rasterize.py

+3
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,6 @@ def getConsoleCommands(self):
163163

164164
arguments.append(out)
165165
return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]
166+
167+
def commandName(self):
168+
return "gdal_rasterize"

python/plugins/processing/algs/gdal/rasterize_over.py

+3
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ def getConsoleCommands(self):
8585
arguments.append(ogrRasterLayer)
8686

8787
return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]
88+
89+
def commandName(self):
90+
return "gdal_rasterize"

0 commit comments

Comments
 (0)