Skip to content

Commit

Permalink
Add clone method to ScriptAlgorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 6, 2017
1 parent cd9328d commit 5c4f642
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/script/ScriptAlgorithm.py
Expand Up @@ -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

Expand Down

0 comments on commit 5c4f642

Please sign in to comment.