mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
fix bad copy paste
This commit is contained in:
parent
d15bd8dd22
commit
3f85b050dc
@ -45,12 +45,13 @@ class QgsOptionalExpression
|
|||||||
int operator== ( const QgsOptionalExpression &other ) const;
|
int operator== ( const QgsOptionalExpression &other ) const;
|
||||||
%MethodCode
|
%MethodCode
|
||||||
sipRes = *sipCpp == *a0;
|
sipRes = *sipCpp == *a0;
|
||||||
%End %End
|
%End
|
||||||
|
|
||||||
int __bool__() const; + QgsOptionalExpression( const QgsExpression &expression, bool enabled );
|
|
||||||
%MethodCode +%Docstring
|
int __bool__() const;
|
||||||
sipRes = sipCpp->enabled(); + Construct an optional expression with the provided expression and enabled state.
|
%MethodCode
|
||||||
%End %End
|
sipRes = sipCpp->enabled();
|
||||||
|
%End
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if this optional is enabled
|
* Check if this optional is enabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user