Skip to content

Commit 3f85b05

Browse files
committed
fix bad copy paste
1 parent d15bd8d commit 3f85b05

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

python/core/qgsoptionalexpression.sip

+6-5
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@ class QgsOptionalExpression
4545
int operator== ( const QgsOptionalExpression &other ) const;
4646
%MethodCode
4747
sipRes = *sipCpp == *a0;
48-
%End %End
48+
%End
49+
4950

50-
int __bool__() const; + QgsOptionalExpression( const QgsExpression &expression, bool enabled );
51-
%MethodCode +%Docstring
52-
sipRes = sipCpp->enabled(); + Construct an optional expression with the provided expression and enabled state.
53-
%End %End
51+
int __bool__() const;
52+
%MethodCode
53+
sipRes = sipCpp->enabled();
54+
%End
5455

5556
/**
5657
* Check if this optional is enabled

0 commit comments

Comments
 (0)