Skip to content

Commit

Permalink
fix indentation (follow up b52828f)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed May 30, 2016
1 parent 01450c5 commit 6396d8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/plugins/processing/script/ScriptSelector.py
Expand Up @@ -31,6 +31,7 @@
WIDGET, BASE = uic.loadUiType(
os.path.join(pluginPath, 'ui', 'DlgConfig.ui'))


class ScriptSelector(BASE, WIDGET):

def __init__(self):
Expand All @@ -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)
Expand Down Expand Up @@ -108,4 +109,3 @@ def okPressed(self):
except:
return
self.close()

0 comments on commit 6396d8f

Please sign in to comment.