Skip to content
Permalink
Browse files

Enable "add direction symbol" only for line layers (#4387)

  • Loading branch information
wonder-sk committed Oct 19, 2011
1 parent 2572388 commit 3a15509b7c53623cc988537bc6d4fec4f5b83e8b
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 3a15509

Please sign in to comment.
You can’t perform that action at this time.