Skip to content

Commit 6396d8f

Browse files
committed
fix indentation (follow up b52828f)
1 parent 01450c5 commit 6396d8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/plugins/processing/script/ScriptSelector.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
WIDGET, BASE = uic.loadUiType(
3232
os.path.join(pluginPath, 'ui', 'DlgConfig.ui'))
3333

34+
3435
class ScriptSelector(BASE, WIDGET):
3536

3637
def __init__(self):
@@ -47,11 +48,11 @@ def __init__(self):
4748
for group, groupScripts in allScripts.iteritems():
4849
groupItem = QtGui.QTreeWidgetItem()
4950
groupItem.setText(0, group)
50-
groupItem.setFlags(groupItem.flags() | QtCore.Qt.ItemIsTristate);
51+
groupItem.setFlags(groupItem.flags() | QtCore.Qt.ItemIsTristate)
5152
for script in groupScripts:
5253
scriptItem = QtGui.QTreeWidgetItem()
53-
scriptItem.setFlags(scriptItem.flags() | QtCore.Qt.ItemIsUserCheckable);
54-
scriptItem.setCheckState(0, QtCore.Qt.Checked);
54+
scriptItem.setFlags(scriptItem.flags() | QtCore.Qt.ItemIsUserCheckable)
55+
scriptItem.setCheckState(0, QtCore.Qt.Checked)
5556
scriptItem.script = script
5657
scriptItem.setText(0, script.name)
5758
groupItem.addChild(scriptItem)
@@ -108,4 +109,3 @@ def okPressed(self):
108109
except:
109110
return
110111
self.close()
111-

0 commit comments

Comments
 (0)