File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
python/plugins/processing/core Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,10 @@ def initialize():
151
151
ProcessingConfig .readSettings ()
152
152
RenderingStyles .loadStyles ()
153
153
Processing .loadFromProviders ()
154
-
154
+
155
+ # Inform registered listeners that all providers' algorithms have been loaded
156
+ Processing .fireAlgsListHasChanged ()
157
+
155
158
@staticmethod
156
159
def updateAlgsList ():
157
160
"""Call this method when there has been any change that
@@ -182,6 +185,13 @@ def addAlgListListener(listener):
182
185
called for all registered listeners.
183
186
"""
184
187
Processing .listeners .append (listener )
188
+
189
+ @staticmethod
190
+ def removeAlgListListener (listener ):
191
+ try :
192
+ Processing .listeners .remove (listener )
193
+ except :
194
+ pass
185
195
186
196
@staticmethod
187
197
def fireAlgsListHasChanged ():
You can’t perform that action at this time.
0 commit comments