Skip to content
Permalink
Browse files

[labeling] Fix line orientation option gets checked randomly

(cherry-picked from 01a402c)
  • Loading branch information
nyalldawson committed Oct 12, 2016
1 parent dae0bce commit 44224617ac4adf786e97d9d292a604911e55e011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/app/qgslabelinggui.cpp
@@ -661,8 +661,7 @@ void QgsLabelingGui::init()
chkLineAbove->setChecked( lyr.placementFlags & QgsPalLayerSettings::AboveLine );
chkLineBelow->setChecked( lyr.placementFlags & QgsPalLayerSettings::BelowLine );
chkLineOn->setChecked( lyr.placementFlags & QgsPalLayerSettings::OnLine );
if ( !( lyr.placementFlags & QgsPalLayerSettings::MapOrientation ) )
chkLineOrientationDependent->setChecked( true );
chkLineOrientationDependent->setChecked( !( lyr.placementFlags & QgsPalLayerSettings::MapOrientation ) );

switch ( lyr.placement )
{

0 comments on commit 4422461

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