Commit 20cb5e48 authored by Rashad Kanavath's avatar Rashad Kanavath

Fix for multiple parameter destination qgis #21374 #21373

parent 8f8632d1
......@@ -275,3 +275,11 @@ class OtbAlgorithmProvider(QgsProcessingProvider):
def supportedOutputTableExtensions(self):
return ['dbf']
def isSupportedOutputValue(self, outputValue, parameter, context):
if not 'group_key' in parameter.metadata()
return super().isSupportedOutputValue(outputValue, parameter, context)
#TODO: Need a better way to deal otb apps that have multiple destionation parameters
return True, None
......@@ -34,6 +34,8 @@ from processing.gui.wrappers import (WidgetWrapper,
#TODO: move OtbChoiceWidgetWrapper and OtbChoiceParameter class into qgis processing as any other parameter
class OtbChoiceWidgetWrapper(WidgetWrapper):
def __init__(self, param, dialog, row=0, col=0, **kwargs):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment