Skip to content
Browse files
used Python "and" keyword instead of && :S
  • Loading branch information
NathanW2 committed Oct 10, 2011
1 parent ee9ab82 commit 0d187bf2a4b38b1434e052f399359959da4a21b1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -82,7 +82,7 @@ QgsLabelingGui::QgsLabelingGui( QgsPalLabeling* lbl, QgsVectorLayer* layer, QgsM
btnExpression->setEnabled( lyr.enabled );

//Add the current expression to the bottom of the list.
if (lyr.isExpression and !lyr.fieldName.isEmpty())
if (lyr.isExpression && !lyr.fieldName.isEmpty())

// placement

0 comments on commit 0d187bf

Please sign in to comment.