File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
python/plugins/processing/script Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3131WIDGET , BASE = uic .loadUiType (
3232 os .path .join (pluginPath , 'ui' , 'DlgConfig.ui' ))
3333
34+
3435class 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-
You can’t perform that action at this time.
0 commit comments