Skip to content
Permalink
Browse files

fix bad copy paste

  • Loading branch information
m-kuhn committed May 15, 2017
1 parent d15bd8d commit 3f85b050dca3aa2bddbed3475c90c8990156a1cc
Showing with 6 additions and 5 deletions.
  1. +6 −5 python/core/qgsoptionalexpression.sip
@@ -45,12 +45,13 @@ class QgsOptionalExpression
int operator== ( const QgsOptionalExpression &other ) const;
%MethodCode
sipRes = *sipCpp == *a0;
%End %End
%End


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

/**
* Check if this optional is enabled

0 comments on commit 3f85b05

Please sign in to comment.
You can’t perform that action at this time.