We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81089a1 commit 6f94e9dCopy full SHA for 6f94e9d
python/plugins/processing/core/Processing.py
@@ -151,7 +151,10 @@ def initialize():
151
ProcessingConfig.readSettings()
152
RenderingStyles.loadStyles()
153
Processing.loadFromProviders()
154
-
+
155
+ # Inform registered listeners that all providers' algorithms have been loaded
156
+ Processing.fireAlgsListHasChanged()
157
158
@staticmethod
159
def updateAlgsList():
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
195
196
197
def fireAlgsListHasChanged():
0 commit comments