Skip to content
Permalink
Browse files

Identation

  • Loading branch information
nyalldawson committed Sep 20, 2017
1 parent 6e1c5c4 commit ef970630296b220bcf4108b3d6bf6223899ad520
Showing with 4 additions and 3 deletions.
  1. +4 −3 python/plugins/processing/ProcessingPlugin.py
@@ -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
@@ -159,6 +159,7 @@ def createDataItem(self, path, parentItem):
return ProcessingModelItem(parentItem, alg.name(), path)
return None


class ProcessingPlugin(object):

def __init__(self, iface):

0 comments on commit ef97063

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