Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix modeler dialog doesn't respect hide from modeler flag
- Loading branch information
|
@@ -179,6 +179,7 @@ alphanumeric characters only and no spaces or other formatting characters. |
|
|
|
|
|
.. seealso:: :py:func:`group` |
|
|
%End |
|
|
|
|
|
virtual Flags flags() const; |
|
|
%Docstring |
|
|
Returns the flags indicating how and when the algorithm operates and should be exposed to users. |
|
|
|
@@ -711,7 +711,7 @@ def addAlgorithmsFromProvider(self, provider, parent): |
|
|
|
|
|
# Add algorithms |
|
|
for alg in algs: |
|
|
if alg.flags() & QgsProcessingAlgorithm.FlagHideFromToolbox: |
|
|
if alg.flags() & QgsProcessingAlgorithm.FlagHideFromModeler: |
|
|
continue |
|
|
groupItem = None |
|
|
if alg.group() in groups: |
|
|
|
@@ -206,7 +206,7 @@ class CORE_EXPORT QgsProcessingAlgorithm |
|
|
* alphanumeric characters only and no spaces or other formatting characters. |
|
|
* \see group() |
|
|
*/ |
|
|
virtual QString groupId() const { return QString(); }; |
|
|
virtual QString groupId() const { return QString(); } |
|
|
|
|
|
/** |
|
|
* Returns the flags indicating how and when the algorithm operates and should be exposed to users. |
|
|