mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Add clone method to ScriptAlgorithm
This commit is contained in:
parent
cd9328d259
commit
5c4f64270d
@ -75,6 +75,9 @@ class ScriptAlgorithm(QgsProcessingAlgorithm):
|
||||
if descriptionFile is not None:
|
||||
self.defineCharacteristicsFromFile()
|
||||
|
||||
def clone(self):
|
||||
return ScriptAlgorithm(self.descriptionFile)
|
||||
|
||||
def icon(self):
|
||||
return self._icon
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user