Skip to content
Permalink
Browse files

Add clone method to ScriptAlgorithm

  • Loading branch information
nyalldawson committed Jul 6, 2017
1 parent cd9328d commit 5c4f64270d456ae992dba1b8e7a8cd45283b3c48
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/script/ScriptAlgorithm.py
@@ -75,6 +75,9 @@ def __init__(self, descriptionFile, script=None):
if descriptionFile is not None:
self.defineCharacteristicsFromFile()

def clone(self):
return ScriptAlgorithm(self.descriptionFile)

def icon(self):
return self._icon

0 comments on commit 5c4f642

Please sign in to comment.
You can’t perform that action at this time.