File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
python/plugins/processing/modeler Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -164,10 +164,6 @@ def _mimeDataAlgorithm(items):
164
164
self .btnEditHelp .setIcon (QIcon (os .path .join (pluginPath , 'images' , 'edithelp.png' )))
165
165
self .btnRun .setIcon (QIcon (os .path .join (pluginPath , 'images' , 'runalgorithm.png' )))
166
166
167
- # Fill trees with inputs and algorithms
168
- self .fillInputsTree ()
169
- self .fillAlgorithmTree ()
170
-
171
167
if hasattr (self .searchBox , 'setPlaceholderText' ):
172
168
self .searchBox .setPlaceholderText (self .tr ('Search...' ))
173
169
if hasattr (self .textName , 'setPlaceholderText' ):
@@ -198,6 +194,9 @@ def _mimeDataAlgorithm(items):
198
194
self .alg = ModelerAlgorithm ()
199
195
self .alg .modelerdialog = self
200
196
197
+ self .fillInputsTree ()
198
+ self .fillAlgorithmTree ()
199
+
201
200
self .view .centerOn (0 , 0 )
202
201
self .alg .setModelerView (self )
203
202
self .help = None
@@ -484,6 +483,8 @@ def fillAlgorithmTreeUsingProviders(self):
484
483
for alg in algs :
485
484
if not alg .showInModeler or alg .allowOnlyOpenedLayers :
486
485
continue
486
+ if alg .commandLineName () == self .alg .commandLineName ():
487
+ continue
487
488
if text == '' or text .lower () in alg .name .lower ():
488
489
if alg .group in groups :
489
490
groupItem = groups [alg .group ]
You can’t perform that action at this time.
0 commit comments