This commit is contained in:
Nyall Dawson 2019-02-26 20:02:47 +10:00
parent b6d66becab
commit 3f735368f6
3 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,7 @@ from processing.algs.otb import OtbUtils
class OtbAlgorithm(QgsProcessingAlgorithm):
def __init__(self, group, name, descriptionfile, display_name='', groupId=''):
super().__init__()
self._name = name

View File

@ -48,6 +48,7 @@ def otb_exe_file(f):
class OtbAlgorithmProvider(QgsProcessingProvider):
def __init__(self):
super().__init__()
self.algs = []

View File

@ -35,6 +35,7 @@ from processing.gui.wrappers import (WidgetWrapper,
class OtbChoiceWidgetWrapper(WidgetWrapper):
def createWidget(self):
widget = QComboBox()
widget.addItems(self.param.options)