Skip to content

Commit eb48501

Browse files
committedNov 4, 2011
Fix #4495 - patch by Nathan
1 parent eea7460 commit eb48501

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed
 

‎src/app/qgslabelinggui.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ void QgsLabelingGui::showEngineConfigDialog()
492492

493493
void QgsLabelingGui::showExpressionDialog()
494494
{
495-
//TODO extract this out to a dialog.
496495
QgsExpressionBuilderDialog dlg( mLayer, cboFieldName->currentText() , this );
497496
dlg.setWindowTitle( tr( "Expression based label" ) );
498497
if ( dlg.exec() == QDialog::Accepted )

‎src/core/qgspallabeling.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,8 +786,6 @@ int QgsPalLabeling::prepareLayer( QgsVectorLayer* layer, QSet<int>& attrIndices,
786786
attrIndices.insert( fldIndex );
787787
}
788788

789-
if ( fldIndex == -1 )
790-
return 0;
791789
}
792790
else
793791
{

0 commit comments

Comments
 (0)
Please sign in to comment.