Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Identation
  • Loading branch information
nyalldawson committed Sep 20, 2017
1 parent 6e1c5c4 commit ef97063
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/plugins/processing/ProcessingPlugin.py
Expand Up @@ -103,10 +103,10 @@ def handleCustomUriDrop(self, uri):
class ProcessingModelItem(QgsDataItem):

def __init__(self, parent, name, path):
super(ProcessingModelItem, self).__init__(QgsDataItem.Custom,parent,name,path)
self.setState(QgsDataItem.Populated ) #no children
super(ProcessingModelItem, self).__init__(QgsDataItem.Custom, parent, name, path)
self.setState(QgsDataItem.Populated) # no children
self.setIconName(":/images/themes/default/processingModel.svg")
self.setToolTip(QDir.toNativeSeparators(path) )
self.setToolTip(QDir.toNativeSeparators(path))

def hasDragEnabled(self):
return True
Expand Down Expand Up @@ -159,6 +159,7 @@ def createDataItem(self, path, parentItem):
return ProcessingModelItem(parentItem, alg.name(), path)
return None


class ProcessingPlugin(object):

def __init__(self, iface):
Expand Down

0 comments on commit ef97063

Please sign in to comment.