Skip to content
Permalink
Browse files

fix indentation (follow up b52828f)

  • Loading branch information
alexbruy committed May 30, 2016
1 parent 01450c5 commit 6396d8fe60e3a5671037ff32fe078bc440ba4cac
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/processing/script/ScriptSelector.py
@@ -31,6 +31,7 @@
WIDGET, BASE = uic.loadUiType(
os.path.join(pluginPath, 'ui', 'DlgConfig.ui'))


class ScriptSelector(BASE, WIDGET):

def __init__(self):
@@ -47,11 +48,11 @@ def __init__(self):
for group, groupScripts in allScripts.iteritems():
groupItem = QtGui.QTreeWidgetItem()
groupItem.setText(0, group)
groupItem.setFlags(groupItem.flags() | QtCore.Qt.ItemIsTristate);
groupItem.setFlags(groupItem.flags() | QtCore.Qt.ItemIsTristate)
for script in groupScripts:
scriptItem = QtGui.QTreeWidgetItem()
scriptItem.setFlags(scriptItem.flags() | QtCore.Qt.ItemIsUserCheckable);
scriptItem.setCheckState(0, QtCore.Qt.Checked);
scriptItem.setFlags(scriptItem.flags() | QtCore.Qt.ItemIsUserCheckable)
scriptItem.setCheckState(0, QtCore.Qt.Checked)
scriptItem.script = script
scriptItem.setText(0, script.name)
groupItem.addChild(scriptItem)
@@ -108,4 +109,3 @@ def okPressed(self):
except:
return
self.close()

0 comments on commit 6396d8f

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