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 d84a917eaf5de8072050cb57dae93619b9c4da61
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgslabelinggui.cpp
@@ -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.