Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
1 change: 1 addition & 0 deletions src/app/qgslabelinggui.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit d84a917

Please sign in to comment.