Skip to content
Permalink
Browse files
Enable "add direction symbol" only for line layers (#4387)
  • Loading branch information
wonder-sk authored and mach0 committed Nov 13, 2011
1 parent 87ad58d commit d84a917
Showing 1 changed file with 1 addition and 0 deletions.
@@ -62,6 +62,7 @@ QgsLabelingGui::QgsLabelingGui( QgsPalLabeling* lbl, QgsVectorLayer* layer, QgsM
}

chkMergeLines->setEnabled( layer->geometryType() == QGis::Line );
chkAddDirectionSymbol->setEnabled( layer->geometryType() == QGis::Line );
label_19->setEnabled( layer->geometryType() != QGis::Point );
mMinSizeSpinBox->setEnabled( layer->geometryType() != QGis::Point );

0 comments on commit d84a917

Please sign in to comment.