Skip to content

Commit

Permalink
[processing] Fix error when dragging alg group in modeler
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 23, 2018
1 parent 502d9d7 commit a530b21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/modeler/ModelerDialog.py
Expand Up @@ -233,6 +233,7 @@ def _mimeDataInput(items):

def _mimeDataAlgorithm(items):
item = items[0]
mimeData = None
if isinstance(item, TreeAlgorithmItem):
mimeData = QMimeData()
mimeData.setText(item.alg.id())
Expand Down

0 comments on commit a530b21

Please sign in to comment.