Skip to content


used Python "and" keyword instead of && :S
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Oct 10, 2011
1 parent ee9ab82 commit 0d187bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgslabelinggui.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 0d187bf

Please sign in to comment.