mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-20 00:04:51 -05:00
Fix modeler dialog doesn't respect hide from modeler flag
This commit is contained in:
parent
95db682acf
commit
ecd113de24
@ -179,6 +179,7 @@ alphanumeric characters only and no spaces or other formatting characters.
|
|||||||
|
|
||||||
.. seealso:: :py:func:`group`
|
.. seealso:: :py:func:`group`
|
||||||
%End
|
%End
|
||||||
|
|
||||||
virtual Flags flags() const;
|
virtual Flags flags() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Returns the flags indicating how and when the algorithm operates and should be exposed to users.
|
Returns the flags indicating how and when the algorithm operates and should be exposed to users.
|
||||||
|
|||||||
@ -711,7 +711,7 @@ class ModelerDialog(BASE, WIDGET):
|
|||||||
|
|
||||||
# Add algorithms
|
# Add algorithms
|
||||||
for alg in algs:
|
for alg in algs:
|
||||||
if alg.flags() & QgsProcessingAlgorithm.FlagHideFromToolbox:
|
if alg.flags() & QgsProcessingAlgorithm.FlagHideFromModeler:
|
||||||
continue
|
continue
|
||||||
groupItem = None
|
groupItem = None
|
||||||
if alg.group() in groups:
|
if alg.group() in groups:
|
||||||
|
|||||||
@ -206,7 +206,7 @@ class CORE_EXPORT QgsProcessingAlgorithm
|
|||||||
* alphanumeric characters only and no spaces or other formatting characters.
|
* alphanumeric characters only and no spaces or other formatting characters.
|
||||||
* \see group()
|
* \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.
|
* Returns the flags indicating how and when the algorithm operates and should be exposed to users.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user