Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[labeling] Fix line orientation option gets checked randomly
(cherry-picked from 01a402c)
  • Loading branch information
nyalldawson committed Oct 12, 2016
1 parent dae0bce commit 4422461
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgslabelinggui.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 4422461

Please sign in to comment.