Skip to content

Commit 0d187bf

Browse files
committed
used Python "and" keyword instead of && :S
1 parent ee9ab82 commit 0d187bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgslabelinggui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ QgsLabelingGui::QgsLabelingGui( QgsPalLabeling* lbl, QgsVectorLayer* layer, QgsM
8282
btnExpression->setEnabled( lyr.enabled );
8383

8484
//Add the current expression to the bottom of the list.
85-
if (lyr.isExpression and !lyr.fieldName.isEmpty())
85+
if (lyr.isExpression && !lyr.fieldName.isEmpty())
8686
cboFieldName->addItem(lyr.fieldName);
8787

8888
// placement

0 commit comments

Comments
 (0)